# Creates list of users with given input list

`POST /user/createWithList`

Operation ID: `createUsersWithListInput`

Tags: `user`

OpenAPI specification: https://raw.githubusercontent.com/PaloAltoNetworks/docusaurus-openapi-docs/main/demo/examples/petstore.yaml

## Servers

- `https://petstore.swagger.io/v2`: Default server
- `https://petstore.swagger.io/sandbox`: Sandbox server
- `http://127.0.0.1:4010`: Prism Mock API (local)

## Request body (required)

List of user object

### Content type: `application/json`

Schema: `User[]`

- `[].id` (integer<int64>, read-only)
  Id
- `[].pet` (one of)
  - Exactly one of these options:
    - Option 1: Pet (Pet)
      A pet
      - `[].pet.id` (integer<int64>, read-only)
        Pet ID
        More information: Find more info here https://example.com
      - `[].pet.category` (Category)
        Categories this pet belongs to
        - `[].pet.category.id` (integer<int64>, read-only)
          Category ID
        - `[].pet.category.name` (string, non-empty)
          Category name
        - `[].pet.category.sub` (object)
          Test Sub Category
          - `[].pet.category.sub.prop1` (string)
            Dumb Property
      - `[].pet.name` (string, required, example: `Guru`)
        The name given to a pet
      - `[].pet.photoUrls` (string<url>[], required, max items: 20)
        The list of URL to a cute photos featuring pet
      - `[].pet.friend` (circular reference to Pet)
      - `[].pet.tags` (Tag[], required, min items: 1)
        Tags attached to the pet
        - `[].pet.tags[].id` (integer<int64>, read-only)
          Tag ID
        - `[].pet.tags[].name` (string, non-empty)
          Tag name
      - `[].pet.status` (string, possible values: `available`, `pending`, `sold`)
        Pet status in the store
        - `available`: When the pet is available
        - `pending`: When the pet is being sold
        - `sold`: When the pet has been sold.

          These descriptions can contain line

          breaks and also [links](https://docusaurus.io/)
      - `[].pet.petType` (string, discriminator)
        Type of a pet
        - The value selects one of these schemas:
          - `cat`: Cat (object)
            A representation of a cat
            Also includes all fields of Pet (circular reference, not repeated here).
            - `[].pet.huntingSkill` (string, required, possible values: `clueless`, `lazy`, `adventurous`, `aggressive`, default: `lazy`, example: `adventurous`)
              The measured skill for hunting
          - `dog`: Dog (object)
            A representation of a dog
            Also includes all fields of Pet (circular reference, not repeated here).
            - `[].pet.packSize` (integer<int32>, required, >= 1, default: `1`)
              The size of the pack the dog is from
          - `bee`: HoneyBee (object)
            A representation of a honey bee
            Also includes all fields of Pet (circular reference, not repeated here).
            - `[].pet.honeyPerDay` (number, required, multiple of 0.01, default: `0`, example: `3.14`)
              Average amount of honey produced per day in ounces
    - Option 2: Tag (Tag)
      A pet tag
      - `[].pet.id` (integer<int64>, read-only)
        Tag ID
      - `[].pet.name` (string, non-empty)
        Tag name
- `[].username` (string, min length: 4, example: `John78`)
  User supplied username
- `[].firstName` (string, non-empty, example: `John`)
  User first name
- `[].lastName` (string, non-empty, example: `Smith`)
  User last name
- `[].email` (string<email>, example: `john.smith@example.com`)
  User email address
- `[].password` (string<password>, min length: 8, pattern: `/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])/`, example: `drowssaP123`)
  User password, MUST contain a mix of upper and lower case letters, as well as digits
- `[].phone` (string, pattern: `/^\+(?:[0-9]-?){6,14}[0-9]$/`, example: `+1-202-555-0192`)
  User phone number in international format
- `[].userStatus` (integer<int32>)
  User status

## Responses

### default

successful operation
