Skip to content
  • Auto
  • Light
  • Dark
Get started

Login

Logs user into the system
get/user/login

Logs user into the system

Query ParametersExpand Collapse
password: optional string

The password for login in clear text

username: optional string

The user name for login

Logs user into the system
curl https://petstore3.swagger.io/api/v3/user/login \
    -H "api_key: $PETSTORE_API_KEY"
"string"
Returns Examples
"string"