Deletes the domain list specified by domain list ID.
Note: You can't delete the BlueCat
Threat Protection domain lists.
DELETE https://api-<BlueCat.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