Users
Create users in bulk
Changed onCreates up to 100 users in one request. The body is an array of CreateUserRequest objects. Results follow input order and include an index for each user. Existing emails do not prevent other users from being created. When the users asking for a license outnumber the available licenses, the request fails with 409 and no user is created.
post/users/bulk
Request
- Base URLhttps://api.modjo.ai/v2
- URLhttps://api.modjo.ai/v2/users/bulk
- AuthHTTP bearer
Request body
Example request
[
{
"email": "jane.doe@company.com",
"firstName": "Jane",
"lastName": "Doe"
}
]Response
Per-user creation results
Example response
{
"results": [
{
"index": 0,
"status": "error",
"error": {
"code": "conflict",
"message": "A user with this email already exists"
}
}
]
}Changes
- info
added the new optional request property
/ - info
added the non-success response with the status
- info
added the required property
////////to the response with the status
- info
- warning
added the new
forbiddenenum value to the////response property for the response status
- warning