Skip to content

Update user​

PUT
/api/user/{id}

Update a user. When user is activated, a confirmation e-mail is sent with a link that allow to choose a password. Only the listed fields are written, any other request body field is ignored. An empty or missing password leaves the current password unchanged.

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",
  
"to_notify": false,
  
"description": "A gancio user",
  
"password": "Passw0rd!"
}

Responses​

User has been updated.

application/json

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI