POST/user/createWithList

Create multiple users from a list

Creates multiple user accounts from an array of user objects. Supply the user details in the request body; each object's fields are optional in the schema. The response contains a user object.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

8 body fields

An array of user account objects.

idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status

2 status codes
200Returns a user object containing its identifier and account details.
idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status
defaultUnexpected error

Error handling

The request body is optional; when supplied, it must be an array of user objects. Each item can include id, username, firstName, lastName, email, password, phone, and userStatus, and no item fields are marked as required.