Delete an existing site. Requires sites.delete permission. Sites with associated equipment or events cannot be deleted.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
string | yes | The unique identifier of the record |
Responses
| Status | Description |
|---|---|
| 204 | An empty response body indicating that the site has been deleted |
| 400 | The site cannot be deleted due to business rules (e.g., has associated equipment or events) |
| 403 | The requesting user lacks appropriate permissions |
| 404 | The site was not found |