Skip to content

Get user.

GET
/backend/v1/users/{userId}

Retrieves a user by their ID.

Authorizations

HTTPBearer
TypeHTTP (bearer)

Parameters

Path Parameters

userId*
Typestring
Required

Query Parameters

includeRoles

Inlcude the user's roles in the response

Typeboolean
defaultfalse

Responses

Successful Response
application/json
JSON
{
"roles": {
"additionalProperties": {
}
},
"user": {
"admin": "string",
"blocked": false,
"createdAt": "string",
"email": "string",
"id": "string",
"lastInvitationSentAt": "string",
"name": "string",
"org": "string",
"permissions": [
[
]
],
"roleIds": [
[
]
],
"roles": [
[
]
],
"social": false,
"teams": [
[
]
],
"verified": true
}
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Updated at: