Tenants

Get tenant by ID

Changed on

Returns a single tenant by ID. Tenant must belong to the authenticated user's scope.

get/api/tenants/{id}

Request

  • Base URL: http://localhost:4100
  • URL: http://localhost:4100/api/tenants/{id}
  • Auth: none required

Path parameters

idstring uuid required

Tenant ID

Response

Tenant

enabled_regimesstring[] nullable
idstring uuid
inserted_atstring date-time
metadataobject nullable
namestring required
slugstring nullable
status'active' | 'suspended' | 'inactive'
tenant_type'platform' | 'standard' required
updated_atstring date-time

Example response

{
  "enabled_regimes": [
    ""
  ],
  "id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
  "inserted_at": "2020-04-20T16:20:00Z",
  "metadata": {},
  "name": "",
  "slug": "",
  "status": "active",
  "tenant_type": "platform",
  "updated_at": "2020-04-20T16:20:00Z"
}

Changes