Create multiple new users
POST/users
Create multiple new users
Request
- application/json
Body
required
- Array [
- ]
users object[]
name string
The user name
email email
The user email
type string
Possible values: [NeprofileUser
, NeaccessUser
]
Default value: NeprofileUser
The user type
profile_id uuid
The user profile id
title string
The user description
status string
Possible values: [Active
, Disabled
]
The user status
login string
The user login
group_strings string
The user group strings
Responses
- 200
- 400
- 500
Expected response to a valid request
- application/json
- Schema
- Example (from schema)
Schema
- Users
- Job
- Array [
- ]
oneOf
users object[]
id uuid
uid string
Possible values: >= 32 characters
and <= 32 characters
name string
email email
type string
Possible values: [NeprofileUser
, NeaccessUser
]
Default value: NeprofileUser
title string
status string
Possible values: [Active
, Disabled
]
login string
last_login date-time
cookies_accepted_at date-time
preferred_language 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...