Add groups to domain
Description
Adds one or more groups to a given domain.
HTTP method
POST
Request

http://{Admin API IP}:{port#}/api/v1/domains/{id}/groups

Example header format:
Authorization: Basic <authorization token returned from the login method>
Content-Type: application/json
Parameter | Description/Comments |
---|---|
ID |
(string) Domain's ID. |

Parameter | Description/Comments |
---|---|
Id | (string) Group's id. Can be retrieved via Get all groups. |
ViewOnly | (bool) Specify true to add the group with "view only" permissions. |

{
"Groups": [
{
"Id": 1,
"ViewOnly": false
}
]
}
Response

{
"Errors": []
}

200 OK