Try it

Create user

This can only be done by the logged in user.

Request Body schema: application/json

Created user object

id
integer <int64>
username
string
firstName
string
lastName
string
email
string
password
string
phone
string
userStatus
integer <int32>

User Status

Responses

default

successful operation

post/user
http://petstore.swagger.io/v2/user

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "id": 0,
  • "username": "string",
  • "firstName": "string",
  • "lastName": "string",
  • "email": "string",
  • "password": "string",
  • "phone": "string",
  • "userStatus": 0
}