Reset charge mode
DELETE
/vehicles/{name}/mode
const url = 'https://demo.evcc.io/api/vehicles/vehicle_1/mode';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://demo.evcc.io/api/vehicles/vehicle_1/modeResets the vehicle charge mode to keep the last selected mode.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”name
required
Responses
Section titled “Responses”Success - Null result
Media typeapplication/json
Value is always null
object
Examplegenerated
{}