Shutdown evcc
POST
/system/shutdown
const url = 'https://demo.evcc.io/api/system/shutdown';const options = {method: 'POST', headers: {cookie: 'auth=<auth>'}};
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/system/shutdown \ --cookie auth=<auth>Shut down instance. There is no reboot command. We expect the underlying system (docker, systemd, etc.) to restart the evcc instance once it’s terminated.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Success - Blank response
Unauthorized - Login and try again
Media type text/plain
string