Deletes a place from the location hierarchy
Use this endpoint to permanently remove a place. The place must have no child organizations, sites, meters, spaces, or data points.
A place cannot be deleted if it is another user’s topmost. Associated UDF upload files are also removed.
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type. |
Path Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| placeId | Unique numeric identifier of the place to delete | integer (int32) | Required |
Responses
204
No Content
The request succeeded. No content is returned in the response body.
400
Bad Request
The request was malformed or contains invalid parameters. Check the request body and query parameters.
404
Not Found
The requested resource was not found. Verify the ID or path is correct.