Update an User
Update an User.
Path Parameters
- user_id integer required
ID of the user
- application/json
Request Body required
- first_name string
User's first name
- last_name string
User's last name
- email email
User's email. Should be unique
- password password
Possible values:
>= 8 characters
User's password
Responses
- 200
- 401
- 403
- 404
- 409
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- first_name string
User's first name
- last_name string
User's last name
- email email
User's email. Should be unique
- password password
Possible values:
>= 8 characters
User's password
{
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"password": "badpassword"
}
User is not authenticated. This means token is either not present or invalid
User is not authorized to retrieve this user ID
User was not found
Invalid body. Check the response for more details.
Something is wrong with the API.
Loading...