Create a domain list
POST https://api-<BlueCat.edge.url>/v1/api/list/dns
Authorization: Bearer authorization token
Content-type: application/JSON
{
"name": "new domain list name",
"description": "new domain list description",
"sourceType": "user"
},
Successful response
200 OK
{
"id": "<domain-list-id>",
"name": "<domain-list-name>",
"description": "<domain-list-description>",
"domainCount": <domain-count>,
"sourceType": "user"
}
Possible error codes
- UNEXPECTED_ERROR