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

DNS Edge API Guide

prodname
BlueCat DNS Edge

Replace all domains within a domain list by supplying a list of domain names.

Note: You can only update user type domain lists.
PUT https://api-<DNS.Edge.URL>/v2/domainLists/{domainListId}
Authorization: Bearer authorization token
Content-type: text/plain
<domain-1>
<domain-2>
...

Successful response

204 No Content
Possible error codes
  • WRONG_LIST_TYPE - Domain list type is incorrect
  • NAMESPACE_OVER_100k - Domain lists associated with namespaces can't exceed 100,000 domains
  • DOMAIN_LIST_DOESNT_EXIST - Domain list doesn't exist
  • BAD_DOMAIN_LIST - Domain list isn't valid
  • UNAUTHORIZED_ACTION - Not authorized to perform the action
  • UNEXPECTED_ERROR - Internal server error