Create multiple new roles
POST/roles
Create multiple new users
Request
- application/json
Body
required
- Array [
- ]
roles object[]
uid string
Possible values: >= 32 characters
and <= 32 characters
type string
Possible values: [NeprofileRole
, NeaccessRole
]
name string
groups string[]
Responses
- 200
- 400
- 500
Expected response to a valid request
- application/json
- Schema
- Example (from schema)
Schema
- Roles
- Job
- Array [
- ]
oneOf
roles object[]
id uuid
uid string
Possible values: >= 32 characters
and <= 32 characters
name string
groups string[]
info string
job_status object
job_id string
status string
status int
{}
Bad Request - unable to complete.
- application/json
- Schema
- Example (from schema)
Schema
- InvalidJson
- ValidationErrors
oneOf
error
error
errors
{}
Internal Server Error - returned on unhandled exceptions.
- application/json
- Schema
- Example (from schema)
Schema
error
A message describing the error
{
"error": "Sorry something went wrong"
}
Loading...