---
title: "PATCH /locations/{locationId}/floors/{id}"
method: PATCH
path: "/locations/{locationId}/floors/{id}"
tags: ["Floors"]
---

# PATCH /locations/{locationId}/floors/{id}

`PATCH /locations/{locationId}/floors/{id}`

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.

## Request body

- ExtendedFloor — Represents a floor of a location
  - `id` string — Unique identifier of the floor
  - `name` string
  - `floorLevel` integer — The floor level in a multi-storey building
  - `topLeftCoordinates` PointPosition
    - `latitude` number, double, required — The latitude of the device. (WGS 84)
    - `longitude` number, double, required — The longitude of the device. (WGS 84).
  - `bottomRightCoordinates` PointPosition
    - `latitude` number, double, required — The latitude of the device. (WGS 84)
    - `longitude` number, double, required — The longitude of the device. (WGS 84).

## Response `204`

Floor updated

## Other responses

- `400` — The supplied object is invalid. Error detail will contain the validation error.
- `401` — You are not authenticated. Please authenticate and try again.
- `403` — You have no permission to access the specified resource.
- `404` — Referenced resource could not be found.
- `500` — Something went wrong in the server. Please try again.

---

[API](https://skmtc.net/eagleeyenetworks/apis/devices.md) · [All operations](https://skmtc.net/eagleeyenetworks/apis/devices/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eagleeyenetworks/devices/versions/df57313de545/schema)
