Retrieve a domain
GET/api/v1/domains/:domain_uuid
Returns a single domain the caller is allowed to access.
Access rules:
- If the user has the
domain_allpermission, any domain may be retrieved. - If the user has assigned domain groups or individual domains, the domain must be in those assignments (even if the user's own domain is not included).
- If nothing is assigned, the user may only retrieve their own domain.
Notes:
- If the domain does not exist, a
resource_missingerror is returned. - If the domain exists but is not accessible, a
forbidden_domainerror is returned.
Request
Responses
- 200
- 401
- 403
- 404
Success
Unauthenticated
Forbidden (domain access)
Not found