Get Authenticated API Key Actor

View as Markdown
Return the API key actor for the current request. Use this to validate CLI credentials and show whether the key is scoped to an organization or subaccount.

Authentication

AuthorizationBearer

Use Bearer <api-key>.

Response

OK
defaultSpaceIdstringformat: "uuid"
emailstring or nullformat: "email"
keyIdstring>=1 character
organizationIdstring>=1 character
planenum
scopeenum
subaccountIdstring or null>=1 character

Errors

401
Unauthorized Error
403
Forbidden Error