cURL
curl --request GET \ --url http://{host}:{port}/{contextPath}/tenant/{id} \ --header 'Authorization: Basic <encoded-value>'
{ "id": "tenantOne", "name": "Tenant One" }
Retrieves a tenant.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The id of the tenant to be retrieved.
Request successful.
The id of the tenant.
The name of the tenant.