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

DNS Edge User Guide

Locale
English (United States)
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
  • UNAUTHORIZED - Missing or invalid token
  • FORBIDDEN - You are not authorized to perform this action
  • 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
  • UNEXPECTED_ERROR - Internal server error