Delete Organisation Location
Allows for the deletion of a specified organisation location using a unique location ID. By providing the location ID in the request, users can efficiently remove outdated or unnecessary location entries from the system, ensuring that only relevant and current locations are available to users.
Syntax: see Call Structure
Type = 'DELETE'
|
'https://connect.cambrionix.com/api/locations/v1/locations/"location-id"' \ |
| Variable | Description |
|---|---|
| location-id | This is the unique id of the location |
Returns:
|
{ "result": {} } |
An empty object is returned if successful.
Example
curl -X 'DELETE' \
'https://connect.cambrionix.com/api/locations/v1/locations/46460' \
-H 'accept: application/json' \
-H 'Authorization: Bearer eyJhbGciO'
Returns
{
"result": {}
}
Errors
If there is an error in the API method then JSON-RPC Error Object a will be returned