Create a local user
POST/api/v1/users
Requires role admin.
Request
Responses
- 201
- 400
- 401
- 403
- 409
Created user
Validation error
Not authenticated. Note: a missing or invalid token is rejected with 403 FORBIDDEN (not 401); 401 is returned when the token's session has been revoked (SESSION_REVOKED).
Missing/invalid token, or the caller's role/group is below the required minimum (FORBIDDEN)
A user with this email already exists (USER_ALREADY_EXISTS)