Update Location
PUT {{baseUrl}}/v1/location/:locationUid
Update location
Body
Field | Type | Required | Description |
---|---|---|---|
name | string | no | name of the location |
coordinates | { lat: number, long: number } | no | this field is mutually exclusive with field address, only one can be in payload. Range from -90 to 90 for latitude and -180 to 180 for longitude |
address | string | no | this field is mutually exclusive with field coordinates, only one can be in payload |
customId | string | no | unique id which might be used e.g. for referencing the device |
| description
| string | no | any additional info about the location |
Warning: Fields
coordinates
andaddress
are mutually exclusive, but at least one of them must be in payload
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-auth | string | Authorization key and token | |
Content-Type | string | ||
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{}