Last updated 2 years ago
Good to know: All the methods shown below are synced to an example Swagger file URL and are kept up to date automatically with changes to the API.
The user name for login
The password for login in clear text
GET /v2/user/login HTTP/1.1 Host: petstore.swagger.io Accept: */*
successful operation
text
GET /v2/user/logout HTTP/1.1 Host: petstore.swagger.io Accept: */*
No content
User Status
POST /v2/user/createWithList HTTP/1.1 Host: petstore.swagger.io Content-Type: application/json Accept: */* Content-Length: 128 [ { "id": 1, "username": "text", "firstName": "text", "lastName": "text", "email": "text", "password": "text", "phone": "text", "userStatus": 1 } ]
POST /v2/user/createWithArray HTTP/1.1 Host: petstore.swagger.io Content-Type: application/json Accept: */* Content-Length: 128 [ { "id": 1, "username": "text", "firstName": "text", "lastName": "text", "email": "text", "password": "text", "phone": "text", "userStatus": 1 } ]