Api referenceEndpointsAdmin
One tenant (instance admin)
GET
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
tenant_id*stringThe id of a tenant; any other value is a 404.
Format
uuidThe tenant.
application/json- response
id*stringFormat
uuidname*stringadmin*booleanTrue for an instance admin tenant, whose keys reach the /v1/admin routes.
created_at*stringFormat
date-timeactive_keys*integerThe tenant's keys that are not revoked.
curl -X GET 'http://localhost:8080/v1/admin/tenants/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Authorization: Bearer ohs_sk_...'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "admin": true, "created_at": "2019-08-24T14:15:22Z", "active_keys": 0}