Skip to content

[POST] login

/api/manager/login

ManagerLoginRequestDTO

Attributes:

Name Type Description
email str
password str

ManagerLoginResponseDTO

Attributes:

Name Type Description
project_id Optional[int]

assigned project id to the user

email str

email of the user

user_id str

unique id of the user

master_account bool

flag if user is a master account

profile_picture Optional[str]

profile picture of the user

project_name Optional[str]

name of the project

user_type str

type of the user (User, AdminUser)

token str

generated token for the session

subscription_expiry_date Optional[str]

date when the subscription of envision monitoring expires in the format of "YYYY-MM-DD"