/auth/v1/domains/<domain_ID>: GET
Gets the details of a specific domain.
The following table shows which roles can access this REST API endpoint:
Data admin | Data user | Collection Admin | Admin | Service user |
---|---|---|---|---|
Χ | Χ | Χ | ✓ | Χ |
Synopsis of the request URL
curl -k -H ‘Authorization: Bearer <token>’ https://<spectrum_discover_host>/auth/v1/domains/<domain ID>
Supported request types and response formats
Supported request types:
- GET
- JSON
Examples
The following example shows how to get details of a specific domain.
Request:
curl -k -H ‘Authorization: Bearer <token>’ https://<spectrum_discover_host>/auth/v1/domains/7a2251243611437cae707fb1aa5acf2c
Response:
(200 OK):
{
"description": "Open LDAP Domain",
"enabled": true,
"id": "7a2251243611437cae707fb1aa5acf2c",
"name": "ldap",
"tags": []
}