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

DNS Edge User Guide

prodname
BlueCat DNS Edge

Gets a list of the site groups.

GET https://api-<DNS.Edge.URL>/v1/api/customer/siteGroups
Authorization: Bearer authorization token
Content-type: application/JSON

Successful response

[
  {
    "siteGroupId": "1",
    "name": "Site Group 1",
    "description": "Description of the site group",
    "siteIds": [
     "763ddc9e-c7c5-4461-82cf-e6644f6a9821",
     "b28c5f96-f66e-4504-a100-55965f6d72fb"
    ]
  },
...
]

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