Skip to main content
POST
/
user
/
createWithList
Creates list of users with given input array.
curl --request POST \
  --url https://petstore3.swagger.io/api/v3/user/createWithList \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "id": 10,
    "username": "theUser",
    "firstName": "John",
    "lastName": "James",
    "email": "[email protected]",
    "password": "12345",
    "phone": "12345",
    "userStatus": 1
  }
]
'
{
  "id": 10,
  "username": "theUser",
  "firstName": "John",
  "lastName": "James",
  "email": "[email protected]",
  "password": "12345",
  "phone": "12345",
  "userStatus": 1
}

Body

application/json
id
integer<int64>
Example:

10

username
string
Example:

"theUser"

firstName
string
Example:

"John"

lastName
string
Example:

"James"

email
string
password
string
Example:

"12345"

phone
string
Example:

"12345"

userStatus
integer<int32>

User Status

Example:

1

Response

Successful operation

id
integer<int64>
Example:

10

username
string
Example:

"theUser"

firstName
string
Example:

"John"

lastName
string
Example:

"James"

email
string
password
string
Example:

"12345"

phone
string
Example:

"12345"

userStatus
integer<int32>

User Status

Example:

1