Clear cache
DELETE
/system/cache
const url = 'https://demo.evcc.io/api/system/cache';const options = {method: 'DELETE', 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 DELETE \ --url https://demo.evcc.io/api/system/cache \ --cookie auth=<auth>Clears all cached data. This resets all cached values from tariffs, vehicle APIs, and other components that use caching.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Success
Media type application/json
object
result
string
Example
{ "result": "OK"}Unauthorized - Login and try again
Media type text/plain
string