Remove domains from group
Description
Removes one or more domains from a given group.
HTTP method
DELETE
Request
URL
http://{Admin API IP}:{port#}/api/v1/groups/{id}/domains
Headers
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. |
Request body
Parameter | Description/Comments |
---|---|
Id | (string) Domain's id. Can be retrieved via Get group's domains. |
Request example
{
"Domains": [
{
"Id": "5c966733-c496-486d-8b1a-963c13e9a103"
},
{
"Id": "8cd12c8d-6d40-4dfd-89da-a8d8dde00575"
},
]
}
Response
Response example
{
"Errors": []
}
Response code
200 OK