Skip to content

Update one

PATCH
/user/{id}

This route is used to update a user

Authorizations

bearer
Type
HTTP (bearer)

Parameters

Header Parameters

Authorization*

The jwt token created upon login

Type
string
Required
Example"Bearer jwtToken"

Path Parameters

id*

The id of the user you want to update

Type
string
Required

Request Body

application/json
JSON
{
"email": "informatique@polyflyx.com",
"username": "user-1768",
"firstname": "Thomas",
"lastname": "Samot",
"password": "123456",
"roleIds": [
],
"rightIds": [
]
}

Responses

application/json
JSON
{
}

Playground

Server
Authorization
Headers
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI