/v2/domainLists/{domainListId} (PATCH) - BlueCat Edge - Service Point v3.x.x

BlueCat Edge API Guide

Locale
English
Product name
BlueCat Edge
Version
Service Point v3.x.x

Updates the content of an existing domain list by adding or deleting domain names.

Note: You can only update user type domain lists.
PATCH https://api-<BlueCat.edge.url>/v2/domainLists/{domainListId}
Authorization: Bearer authorization token
Content-type: text/plain
<domain-1>
<domain-2>
...
-
<domain-a>
<domain-b>
...

Domains must be listed as one domain per line. All domains above the dash (-) symbol indicate that those domains are to be added to the existing domain list. All domains below the dash symbol indicate that those domains are to be removed from the existing domain lists. To only add new domains to the domain list, enter all the domains to be added. To only remove domains from the domain list, place the dash symbol as the first entry of the body followed by all domains to be removed.

Successful response

204 No Content
Possible error codes
  • UNAUTHORIZED - Missing or invalid token
  • FORBIDDEN - You are not authorized to perform this action
  • 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
  • UNEXPECTED_ERROR - Internal server error