delete https://api.alocity.com/v1/integration-management/site/
This endpoint is used to delete a site by its Id.
Controlled Errors
Error Code | Error Message |
---|---|
error_site_not_found | The site was not found. |
error_user_not_found | The user deleting the site was not found. |
error_zone_assign_devices | The site still has devices assigned to its zones. |
error_zone_delete_error | Failed to delete the site's associated zones. |
error_site_delete_error | Failed to delete the site. |
error_last_site | The last site on an account cannot be deleted. |
Any status codes returned that are not provided here are generic status codes that can be found here.