Add a user
POST/api/user
Add a new user
Request
- application/json
Body
name stringrequired
email emailrequired
password passwordrequired
is_admin booleanrequired
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...