Skip to content
On this page

Logs user into the system.

Log into the system.

GET/user/loginLogs user into the system.
curl 'https://petstore3.swagger.io/api/v3/user/login'
Example response · 200
string

#Authentication

No authentication needed.

#Parameters

usernamestringquery

The user name for login

passwordstringquery

The password for login in clear text

#Responses

successful operation

Headers

X-Rate-Limitinteger (int32)

calls per hour allowed by the user

X-Expires-Afterstring (date-time)

date in UTC when token expires

application/xml · Type: string

application/json · Type: string

string