/v1/api/customer/siteGroups/create - BlueCat Edge - Service Point v4.x.x

BlueCat Edge User Guide

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

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

POST https://api-<BlueCat.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