/v2/domainLists/{domainListId} (DELETE) - BlueCat DNS Edge

DNS Edge User Guide (Service Point v4)

Locale
English
Product name
BlueCat DNS Edge
Deletes the domain list specified by domain list ID.
Note: You can't delete the BlueCat Threat Protection domain lists.
DELETE https://api-<DNS.Edge.URL>/v2/domainLists/{domainListId}
Authorization: Bearer authorization token

Successful response

204 No Content
Possible error codes
  • DOMAIN_LIST_DOESNT_EXIST - Domain list doesn't exist
  • WRONG_LIST_TYPE - Domain list type is incorrect
  • DOMAIN_LIST_IN_USE - Domain list is used by a namespace or policy
  • UNAUTHORIZED_ACTION - Not authorized to perform the action
  • UNEXPECTED_ERROR - Internal server error