Skip to content
Get started

Logs user into the system

users.login(UserLoginParams**kwargs) -> UserLoginResponse
GET/user/login

Logs user into the system

ParametersExpand Collapse
password: Optional[str]

The password for login in clear text

username: Optional[str]

The user name for login

ReturnsExpand Collapse
str

Logs user into the system

import os
from maxf_docs_dev_7 import MaxfDocsDev7

client = MaxfDocsDev7(
    api_key=os.environ.get("PETSTORE_API_KEY"),  # This is the default and can be omitted
)
response = client.users.login()
print(response)
"string"
Returns Examples
"string"