Skip to main content
POST
Add device space references
Send the id of each space in referencedSpaceIds. The server decides whether the device serves or measures each space. Repeating an id, or a space that is already linked, does not add a second link. The device needs an ontology applied. Without one, the request is refused with 400. A successful request returns 204 with an empty body. Read the links back with List device space references to confirm they were stored.

Authorizations

Authorization
string
header
required

Paste an access token from Create an access token. Tokens expire, so request a new one if you receive 401.

Path Parameters

buildingId
string
required

Building identifier from List buildings.

deviceId
string
required

Device identifier.

Body

application/json
referencedSpaceIds
string[]
required
Minimum array length: 1

Response

The links were added. The body is empty.