Add a user
POST/v1/users
Add a user
Request
- application/json
Body
required
The user data
password stringrequired
permissions string[]required
username stringrequired
Responses
- 201
- 400
- 401
User successfully added
Invalid request
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
Loading...