POST
/user/createWithListCreate users from a list
Creates users from an array of user objects. Supply an array when you want to create multiple users in one request; the body is optional, and the schema does not require any fields in each object. The response contains a user object.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
An optional array of user objects. Each object can contain id, username, firstName, lastName, email, password, phone, and userStatus.
idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status
200Returns a user object with its identifier and user details.
idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status
defaultReturned when an unexpected error occurs.
Error handling
The request body is optional; if supplied, it must be an array of user objects. Each object may include id and userStatus as integers, and username, firstName, lastName, email, password, and phone as strings.