Pet Store
  1. user
Pet Store
  • pet
    • Find pet by ID
      GET
    • Update an existing pet
      PUT
    • Add a new pet to the store
      POST
    • Finds Pets by status
      GET
    • Finds Pets by tags
      GET
    • Updates a pet in the store with form data
      POST
    • Deletes a pet
      DELETE
    • uploads an image
      POST
  • store
    • Returns pet inventories by status
      GET
    • Place an order for a pet
      POST
    • Find purchase order by ID
      GET
    • Delete purchase order by ID
      DELETE
  • user
    • Create user
      POST
    • Creates list of users with given input array
      POST
    • Logs user into the system
      GET
    • Logs out current logged in user session
      GET
    • Get user by user name
      GET
    • Update user
      PUT
    • Delete user
      DELETE
  1. user

Creates list of users with given input array

POST
/user/createWithList
user
Creates list of users with given input array
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/user/createWithList' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "id": 10,
        "username": "theUser",
        "firstName": "John",
        "lastName": "James",
        "email": "john@email.com",
        "password": "12345",
        "phone": "12345",
        "userStatus": 1
    }
]'
Response Response Example
200 - Example 1
{
    "id": 10,
    "username": "theUser",
    "firstName": "John",
    "lastName": "James",
    "email": "john@email.com",
    "password": "12345",
    "phone": "12345",
    "userStatus": 1
}

Request

Body Params application/json
array of:
id
integer <int64>
optional
Example:
10
username
string <string>
optional
Example:
theUser
firstName
string <string>
optional
Example:
John
lastName
string <string>
optional
Example:
James
email
string <string>
optional
Example:
john@email.com
password
string <string>
optional
Example:
12345
phone
string <string>
optional
Example:
12345
userStatus
integer <int32>
optional
User Status
Example:
1
Examples

Responses

🟢200Successful operation
application/json
Body
id
integer <int64>
optional
Example:
10
username
string <string>
optional
Example:
theUser
firstName
string <string>
optional
Example:
John
lastName
string <string>
optional
Example:
James
email
string <string>
optional
Example:
john@email.com
password
string <string>
optional
Example:
12345
phone
string <string>
optional
Example:
12345
userStatus
integer <int32>
optional
User Status
Example:
1
🔴500successful operation
Previous
Create user
Next
Logs user into the system
Built with