delete https://api.alocity.com/v1/integration-management/zone/
This endpoint is used to delete a zone by its Id.
Controlled Errors
Error Code | Error Message |
---|---|
error_zone_not_found | The zone was not found. |
error_zone_assign_devices | The zone still has devices assigned to it. |
error_minimum_number_of_zones | Cannot delete a site's last zone. All sites must have at least one zone. |
error_zone_delete_error | Failed to delete the zone. |
Any status codes returned that are not provided here are generic status codes that can be found here.