Skip to content
EN | DE

Login

POST
/auth/login
curl --request POST \
--url https://demo.evcc.io/api/auth/login \
--header 'Content-Type: application/json' \
--data '{ "password": "example" }'

Administrator login. Returns authorization cookie required for all protected endpoints.

Media type application/json
object
password

Admin password

string
Example generated
{
"password": "example"
}

Success

Set-Cookie
string
Example
auth=ey...qY; Path=/; Expires=Fri, 04 Apr 2025 14:35:37 GMT; HttpOnly; SameSite=Strict

The authorization cookie

Invalid password provided