Api referenceEndpointsTenant
The tenant of the calling key
GET
The tenant the key belongs to, whether it is the instance admin (the one tenant whose keys manage the providers, see /v1/admin/providers) and which key is calling.
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
The tenant.
application/json- response
id*stringFormat
uuidname*stringadmin*booleanTrue for the instance admin tenant, whose keys manage the providers. The first tenant of an instance is the admin.
created_at*stringFormat
date-timekey*The key making the call.
curl -X GET 'http://localhost:8080/v1/tenant' \ -H 'Authorization: Bearer ohs_sk_...'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "admin": true, "created_at": "2019-08-24T14:15:22Z", "key": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "prefix": "ohs_sk_2dybB" }}