Remove domains from group
Description
Removes one or more domains from a given group.
URL
http://{Admin API IP}:{port#}/api/v1/groups/{id}/domains
Parameter | Description/Comments |
---|---|
ID | (string) Group's ID. Can be retrieved via Get all groups. |
HTTP method
DELETE
Request
Headers
Example header format:
Authorization: Basic <authorization token returned from the login method>
Content-Type: application/json
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