Aller au contenu principal

Identity

Choisissez votre langage :

Use whoami to verify which organization and actor the client is using.

client.whoami()

Inspect the authenticated actor and organization.

SDKclient.whoami()
RetourneWhoami

Parameters: none.

Return fields:

FieldTypeDescription
organization_idstringOrganization resolved from the authenticated user or API key.
actor_type"user" or "api_key"Authentication source.
actor_labelstringDisplay label for the actor.
api_key_idstringPresent for API key authentication.
api_key_namestringPresent for API key authentication.
api_key_prefixstringPresent for API key authentication.