Add domains to group
Description
Adds one or more domains to a given group.
HTTP method
POST
Request
http://{Admin API IP}:{port#}/api/v1/groups/{id}/domain
                                            Example header format:
Authorization: Basic <authorization token returned from the login method>
                                                
Content-Type: application/json
                                                
| Parameter | Description/Comments | 
|---|---|
| ID | 
                                                                 (string) Group's ID. Can be retrieved via Get all groups.  | 
                                                        
| 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. | 
{
  "Domains": [
    {
      "Id": "domain1 id"
    },
    {
      "Id": "domain2 id"
    }
  ],
  "ViewOnly": true
}
                                            Response
{
    "Errors": []
}
                                            201 Created
