Skip to content

Update user​

PUT
/api/user/{id}

Update user activation or role. When user is activated, a confirmation e-mail is sent with a link that allow to choose a password.

Authorizations​

bearerAuth

Bearer token using a JWT

Type
HTTP (Bearer)

Parameters​

Path Parameters

id*

Identifier of the user to be updated.

Type
integer
Required
Example1

Request Body​

application/json
JSON
{
  
"is_active": true,
  
"role": "user"
}

Responses​

User has been updated.

application/json

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI