Get a Tenant

Get a specific tenant by its id.

Get Tenant Request
cURL
GET- /workspaces/:workspaceSlug/databases/:databaseName/tenants/:tenantId
curl 'https://api.thenile.dev/workspaces/<string>/databases/<string>/tenants/<string>' \
--header 'Authorization: Bearer <string>'

The response includes the id and name of the tenant.

Get Tenant Response
200
{
  "id": "018b61ec-af9e-77e5-b27f-77239cd4a0bc",
  "name": "Tenant Zero"
}