/v1/api/list/dns/{domainListId}/update (POST) - BlueCat DNS Edge

DNS Edge API Guide

Locale
English (United States)
Product name
BlueCat DNS Edge
Updates a domain list name, description, or source type.
Note: You can't update the BlueCat Threat Protection domain lists.
POST https://api-<DNS.Edge.URL>/v1/api/list/dns/{domainListId}/update
Authorization: Bearer authorization token
Content-type: application/JSON
{
   "name": "new domain list name",
   "description": "new domain list description",
   "sourceType":"dynamic" or "user"
},

Successful response

200 - OK

Response on unsuccessful authorization

401 Unauthorized
Content-Type: application/JSON
{"code": "UNAUTHORIZED", "brief": "You are not authorized to perform this action"}
Possible error codes
  • UNEXPECTED_ERROR