Api referenceEndpointsTenant
The tenant's API keys
GET
Every key of the tenant, revoked ones included, newest first. Only the prefix of a key is stored in clear; the secret itself was shown once, when the key was created.
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
The keys.
application/json- response
data*array<>curl -X GET 'http://localhost:8080/v1/keys' \ -H 'Authorization: Bearer ohs_sk_...'{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "prefix": "string", "created_at": "2019-08-24T14:15:22Z", "last_used_at": "2019-08-24T14:15:22Z", "revoked_at": "2019-08-24T14:15:22Z", "current": true } ]}