Deletes the site specified by site ID. If there are registered service points in a site, an error is returned.
DELETE https://api-<DNS.Edge.URL>/v3/api/sites/{siteId} Authorization: Bearer authorization token Content-type: application/JSON
Successful response
204 NO CONTENT Content-Type: application/JSON
Possible error codes
- UNAUTHORIZED - Missing or invalid token
- FORBIDDEN - You are not authorized to perform this action
- SITE_HAS_REGISTERED_SERVICE_POINTS
- INVALID_INPUT
- ERROR_INVALID_ARGUMENT
- UNEXPECTED_ERROR