Locations
Endpoints for managing locations.
List tenant locations with pagination
Returns a paginated list of location records scoped to the tenant identified by the required `tenant-id` header.
Create a new tenant location record
Creates a composite location record comprising a core location, a group location, and a tenant-group-location entry, all scoped to the tenant identified by the required `tenant-id` header.
Search locations by name
Returns a paginated list of locations whose name matches the supplied query term. Results are suitable for autocomplete dropdowns on the Groups list page. Requires the READ_LOCATION permission. Returns an empty result set (200) when the location-search feature is disabled for this environment.
Batch-update a location and its sub-entities
Updates a location and its associated address, network membership, and specialty records in a single batch operation, using the IDs and fields provided in the request body.
Update an existing location record by ID
Updates the core location, group location, and tenant-group-location sub-records for the location identified by `{id}`, scoped to the tenant identified by the required `tenant-id` header.
Retrieve a single location by ID
Returns a single location record identified by `{id}`, scoped to the tenant identified by the required `tenant-id` header.