Get the current key
Trillet OEM API: Returns the key's mode, scopes, tenant restriction and partner account.
GET
Returns the key's mode, scopes, tenant restriction and partner account. Needs no scope.
Loading code example
Loading code example
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
application/json
The key.
objectstringrequiredidstringrequiredPattern:
^[a-fA-F0-9]{24}$mode"live" | "sandbox"requiredAllowed values:
"live" | "sandbox"scopesarray<"tenants:read" | "tenants:write" | "resources:read" | "resources:write" | "calls:write" | "numbers:write" | "templates:read" | "templates:write" | "events:read" | "webhooks:write" | "usage:read" | "sessions:write">requiredtenantIdsarray<string>requiredEmpty when the key is not restricted to some tenants.
partnerobjectrequiredpartner.idstringPattern:
^[a-fA-F0-9]{24}$partner.namestring | nullpartner.maxTenantsinteger | nullpartner.tenantCountintegerLast updated on