Read the current credential authority

Account, member role, credential kind/mode and trusted subject resolved from current persisted authority. Selection cannot widen key or embed authority.

get/principal

Request

  • Base URL: https://rendry.io/api/v1
  • URL: https://rendry.io/api/v1/principal
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer

Headers

X-Rendry-Accountstring

Browser/OAuth current member account selector. API keys/embed credentials are bound to their persisted account and reject another account. Omitting this header selects the browser actor personal account.

Response

Read the current credential authority

actor_idstring required
account_idstring required
role'owner' | 'admin' | 'editor' | 'viewer' required
credential_kind'browser' | 'oauth' | 'api_key' | 'embed' required
credential_idstring
credential_mode'live' | 'test' required
trusted_subjectstring

Only for an embed credential; authenticated customer subject, never the X-End-User analytics header.

Changes

No recorded changes to this operation across all 1 revision of this API.