Logout
POST
/auth/logout
const url = 'https://demo.evcc.io/api/auth/logout';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://demo.evcc.io/api/auth/logoutLogout and delete authorization cookie
Responses
Section titled “ Responses ”Success
Headers
Section titled “Headers ” Set-Cookie
string
The authorization cookie