Current User

Return the account the request is authenticated as.
EndpointMethodAdmin Required
/api/v1/users/authPOSTNo

Returns the account behind the credentials on the request - the user an access key belongs to, or the user of a console session token. Useful to check which credentials you are holding, and whether they carry admin privileges.

No request body.

Response

{
    "id": "A1B2C3D4-E5F6-7890-ABCD-EF1234567890",
    "name": "John Doe",
    "username": "john",
    "isAdmin": false
}

Errors

StatusReason
401Missing or invalid credentials