Get authenticated API key actor
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>.
Headers
BCTRL-Subaccount-Id
Optional effective subaccount context for organization API keys. Subaccount API keys are already scoped and cannot use this header to act as another subaccount.
Response
OK
defaultSpaceId
effectiveScope
email
keyId
organizationId
plan
scope
subaccountId
Opaque identifier for a BCTRL subaccount.
Errors
401
Unauthorized Error
403
Forbidden Error

