Delete Zone

This endpoint is used to delete a zone by its Id.

Controlled Errors

Error CodeError Message
error_zone_not_foundThe zone was not found.
error_zone_assign_devicesThe zone still has devices assigned to it.
error_minimum_number_of_zonesCannot delete a site's last zone. All sites must have at least one zone.
error_zone_delete_errorFailed to delete the zone.

Any status codes returned that are not provided here are generic status codes that can be found here.

Path Params
int64
required

The Id of the zone to delete.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain