POST/user/createWithList

Create users from a list

Creates users from an array of user objects. The body is optional, and the schema does not mark any fields on the user objects as required. A 200 response returns a user object.

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

8 body fields

An optional array of user objects.

idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status

2 status codes
200Returns a user object, including its identifier, username, name, email, password, phone, and status.
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. The schema does not mark any object fields as required, and fields such as username and email have no additional value or format constraints.