Skip to main content
GET
/
tenant
/
{id}
Get Tenant
curl --request GET \
  --url http://{host}:{port}/{contextPath}/tenant/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "tenantOne",
  "name": "Tenant One"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The id of the tenant to be retrieved.

Response

Request successful.

id
string | null

The id of the tenant.

name
string | null

The name of the tenant.