Create user
1 min
POST
https://petstore3.swagger.io/api/v3/user
bodyobjectCreated user object
idinteger<int64>
usernamestring
firstNamestring
lastNamestring
emailstring
passwordstring
phonestring
userStatusinteger<int32>User Status
defaultsuccessful operation
curl --location 'https://petstore3.swagger.io/api/v3/user' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"id": 0,
"username": "",
"firstName": "",
"lastName": "",
"email": "",
"password": "",
"phone": "",
"userStatus": 0
}'This can only be done by the logged in user.
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.