createUserWithArray
POST {{baseUrl}}/user/createWithArray
Creates a list of users with given input array.
Parameters
Name | Description |
---|---|
body *required array[object] (body) | List of user object |
Response
Code | Description |
---|---|
default | successful operation |
500 | Unknown: something bad happened |
Example
[
{
"id": 0,
"username": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"password": "string",
"phone": "string",
"userStatus": 0
}
]
Request Body
[{"id"=>8, "username"=>"pVelia", "firstName"=>"Precious", "lastName"=>"Velia", "email"=>"veliap@gmail.com", "password"=>"velp", "phone"=>"98765432", "userStatus"=>1}, {"id"=>7, "username"=>"owans", "firstName"=>"Owanate", "lastName"=>"Amachree", "email"=>"owans@gmail.com", "password"=>"owansformentor", "phone"=>"987456321", "userStatus"=>2}]