v1

latestOpenAPI 3.0.32026-07-24214879985.1 KB
Locations

This endpoint allows you to update the location with the given ID. Support for Location-based camera grouping is only available in the professional and enterprise editions.

patch/locations/{id}

Request body

idstring
namestring
parentIdstring

Unique identifier of this location's parent location in the hierarchy

isDefaultboolean

Specifies if a new device should be automatically assigned to this location if not supplied

Example request

{
  "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
  "name": "CF2 - Austin Office",
  "parentId": "d290f1ee-6c54-4b01-90e6-d701748f0851"
}

Response

Location updated