Retrieve current user
Retrieves the user who owns the personal access token (PAT) used to authenticate. API tokens aren't supported. The response includes role only when the X-AXIOM-ORG-ID header is set.
Request
Try itRun this request against your Axiom organization
Credentials stay in this browser tab and are only sent to Axiom when you run the request.
Response
200Current user.403The request was authenticated with an API token, or the user isn't a member of the organization in `X-AXIOM-ORG-ID`.
| Property | Type | Description |
|---|---|---|
email | stringRequired | User's email address |
id | stringRequired | Unique identifier for the user |
name | stringRequired | User's full name |
role | objectRequired | Detailed information about a user's role |
id | stringRequired | Unique identifier for the role |
name | stringRequired | Human-readable name of the role |