/v1/api/namespaces/{namespaceId} (DELETE) - BlueCat DNS Edge

DNS Edge API Guide (Service Point v4)

Product name
BlueCat DNS Edge

Delete the namespace specified by namespace ID

DELETE https://api-<DNS.Edge.URL>/v1/api/namespaces/{namespaceID}
Authorization: Bearer token
Content-Type: application/json

Successful response


Response on unsuccessful authorization

401 Unauthorized
Content-Type: application/JSON
{"code": "UNAUTHORIZED", "brief": "You are not authorized to perform this action"}
Possible error codes
  • 400 Bad Request, INVALID_NAMESPACE_ID - This isn't a valid namespace ID
  • 400 Bad Request, INVALID_MATCH_LISTS - One or more of the provided match lists isn't valid
  • 400 Bad Request, INVALID_EXCEPTION_LISTS - One ore more of the provided exception lists isn't valid
  • 400 Bad Request, INVALID_MODEL - This isn't a valid model
  • 409 Conflict, NAMESPACE_ALREADY_EXISTS - The namespace name is already in use
  • 404 Not Found, NOT_FOUND - No matching namespace found
  • 500 Internal Server Error, UNEXPECTED_SERVER_ERROR - Unexpected error while processing the request