Appearance
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
Requiredstring
Example
"Bearer jwtToken"Path Parameters
id*
The id of the user you want to update
Type
Requiredstring
Request Body
application/json
JSON
{
"email": "informatique@polyflyx.com",
"username": "user-1768",
"firstname": "Thomas",
"lastname": "Samot",
"password": "123456",
"roleIds": [
],
"rightIds": [
]
}
Responses
application/json
JSON
{
}