Get group's domains
Description
Gets a list of all domains associated to a given group.
HTTP method
GET
Request
http://{Admin API IP}:{port#}/api/v1/groups/{id}/domains
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. |
Response
{
"Domains": [
{
"ViewOnly": false,
"Id": "357ff49d-4ffd-4b3e-bc07-041dd4fd0f33",
"Archived": false,
"EndTime": null,
"LicensePoolId": null,
"Description": "",
"Name": "margarita"
},
{
"ViewOnly": false,
"Id": "5c966733-c496-486d-8b1a-963c13e9a103",
"Archived": false,
"EndTime": null,
"LicensePoolId": null,
"Description": "a long usless description from deep darck places from my mind with some help from Gepetha\n Hark, fair Red Riding Hood, where dost thou tread?\nThrough yonder forest, a perilous path to thread.\nThou carriest cakes and wine, a pleasant feast,\nTo visit thy sickly granny, poor soul, at least.",
"Name": "xxx new domain 02"
},
{
"ViewOnly": false,
"Id": "8cd12c8d-6d40-4dfd-89da-a8d8dde00575",
"Archived": false,
"EndTime": null,
"LicensePoolId": null,
"Description": "",
"Name": "New York"
},
{
"ViewOnly": false,
"Id": "134b19d4-6c56-491d-b765-b61191c37f78",
"Archived": false,
"EndTime": null,
"LicensePoolId": null,
"Description": "",
"Name": "San Francisco"
},
{
"ViewOnly": false,
"Id": "dbaf480c-09f7-46d3-a2e2-e35d3e374a16",
"Archived": false,
"EndTime": null,
"LicensePoolId": null,
"Description": "A domain that includes all available resources",
"Name": "Global"
}
],
"Cursor": null
}
200 OK