Skip to main content
Version: v1

View Domain

This method is used to view a domain object

Request Parameters

GET /api/clients/v1/domains/{id}/

Headers

  • Content-Type: application/json
  • Authorization: Bearer $access_token

Path

ParameterTypeConstraintsDescriptionExample
idinteger> 0, requiredDomain ID2

Response Parameters

Examples

400 Bad Request

Invalid path parameters specified

{
"id": [
"A valid integer is required."
]
}
401 Unauthorized

Authentication credentials missing or invalid

{
"detail": "Given token not valid for any token type",
"code": "token_not_valid",
"messages": [
{
"token_class": "AccessToken",
"token_type": "access",
"message": "Token is invalid or expired"
}
]
}
403 Forbidden

Only project participants can view this domain

{
"detail": "Only project participants can view this domain"
}
404 Not Found

Domain with this ID not found

{
"detail": "Not found"
}