Delete Site

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

Controlled Errors

Error CodeError Message
error_site_not_foundThe site was not found.
error_user_not_foundThe user deleting the site was not found.
error_zone_assign_devicesThe site still has devices assigned to its zones.
error_zone_delete_errorFailed to delete the site's associated zones.
error_site_delete_errorFailed to delete the site.
error_last_siteThe 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.

Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!