Update a user
POST/api/profile/:userId
Update a user via user id
Request
Path Parameters
userId integerrequired
ID of the user
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
id integer
name string
email string
is_admin boolean
{
"id": 0,
"name": "string",
"email": "string",
"is_admin": true
}
Loading...