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*
Type
string
Required
Example1

Request Body

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

Responses

User has been updated.

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI