Update Location
This request changes the attributes of a location.
Resource
PATCH /locations/<OID>
Where OID
is the object ID of the location.
Parameters
None
Payload
Fields
name | Patch Operations |
---|---|
commonName |
|
longitude |
|
latitude |
|
organisation |
|
Response
None
Context
Authorization |
Administrator |
Errors
Example
Request
PATCH https://xelion.nl/api/v1/master/locations/10317713
Payload
{
"operations": [
{
"op": "replace",
"path": "/longitude",
"value": 10.44
}
]
}