Retrieves a tenant.

Method

GET /tenant/{id}

Parameters

Path Parameters

Name Description
id The id of the tenant to be retrieved.

Result

A JSON object with the following properties:

Name Value Description
id String The id of the tenant.
name String The name of the tenant.

Response Codes

Code Media type Description
200 application/json Request successful.
404 application/json Tenant with given id does not exist. See the Introduction for the error response format.

Example

Request

GET /tenant/tenantOne

Response

Status 200.

{
 "id":"tenantOne",
 "name":"Tenant One"
}

On this Page: