Logo
1 API Documentation

Create user

POST {{baseUrl}}/user

This can only be done by the logged in user.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X POST 'https://petstore.swagger.io/v2/user' -H 'Content-Type: application/json' -d '{"id":-50303036,"username":"irure laborum ea","firstName":"elit officia ea","lastName":"non occaecat consequat cupidatat","email":"consequat do Duis","password":"et non commodo","phone":"id enim laborum dolor","userStatus":16951072}'

ENDPOINTS