v1

latestOpenAPI 3.0.32026-07-24214879985.1 KB
Floors

Updates one or more fields of the given floor. This has no effect on the cameras on that floor. Support for Location-based camera grouping is only available in the professional and enterprise editions.

patch/locations/{locationId}/floors/{id}

Request body

idstring

Unique identifier of the floor

namestring
floorLevelinteger

The floor level in a multi-storey building

Example request

{
  "name": "Lobby Area - Floor 1",
  "floorLevel": 1,
  "topLeftCoordinates": {
    "latitude": 52.3074013,
    "longitude": 4.9459903
  },
  "bottomRightCoordinates": {
    "latitude": 52.3074013,
    "longitude": 4.9459903
  }
}

Response

Floor updated