Skip to content

Logs user into the system.

GET
/user/login
curl -X GET 'https://petstore3.swagger.io/api/v3/user/login?password=string&username=string'

Log into the system.

username
string

The user name for login

password
string

The password for login in clear text

Successful operation

string
Example generated
example
X-Expires-After
string format: date-time

Date in UTC when token expires

X-Rate-Limit
integer format: int32

Calls per hour allowed by the user

Invalid username/password supplied

Unexpected error

Suggest an edit to this page