Update charge mode
POST
/loadpoints/{id}/mode/{mode}
const url = 'https://demo.evcc.io/api/loadpoints/1/mode/off';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/loadpoints/1/mode/offChanges the charging behavior of the loadpoint.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
Loadpoint index starting at 1.
integer
Example
1Loadpoint index starting at 1
mode
required
Charging mode.
string
Responses
Section titled “Responses”Success
Media typeapplication/json
object
result
Charging mode.
string
Example
{ "result": "off"}