# Who am I

This endpoint retrieves the account UUID, user UUID, and role UUID associated with the User Secret (API key) of the calling user.

Method Path Operation*
GET /whoami who_am_i

*

In order for a user to perform the "who_am_i" operation, the "who_am_i" permission must be included in the list of allowed actions in the statement of the user's role.

# Request

No parameters.

# Response

Attribute Type Description
account string Account UUID associated with the User Secret (API key) of the calling user.
user string User UUID associated with the User Secret (API key) of the calling user.
role string Role UUID associated with the User Secret (API key) of the calling user.

# Status codes

Requests to this endpoint result in generic status codes. For a comprehensive list of status codes, please consult the Status codes section.

Was this article helpful?