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

replace

longitude

replace

latitude

replace

organisation

replace

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
            }
    ]
}