Skip to content

Update user.

PATCH
/backend/v1/users/{userId}

Updates a user by their ID.

Only users can change their own name.
Users created through social account connections (Google, Microsoft) cannot change their names.

Authorizations

HTTPBearer
TypeHTTP (bearer)

Parameters

Path Parameters

userId*
Typestring
Required

Request Body

application/json
JSON
{
"blocked": "string",
"name": "string"
}

Responses

Successful Response
application/json
JSON
{
"message": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Updated at: