/v1/api/customer/siteGroups/create - BlueCat DNS Edge

DNS Edge API Guide

Locale
English (United States)
Product name
BlueCat DNS Edge

Creates a new site group with the sites specified by site ID.

POST https://api-<DNS.Edge.URL>/v1/api/customer/siteGroups/create
Authorization: Bearer authorization token
Content-type: application/JSON
{"name":"name", "description":"description", "siteIds":["id1","id2"]}

Successful response

200 OK
{
   "siteGroupId": "1",
    "name": "Toronto sites",
    "description": "Toronto site group",
    "siteIds": [
      "826f2b9e-c39e-432e-a422-f223d1dc547a",
      "a16a009e-4790-42b6-9374-b1b18e619d76"
    ]
}

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