For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dashboard
DocsAPI Reference
Dashboard
LogoLogo
DocsAPI Reference
  • OCPPLAB Gateway API
        • POSTProxy OCPP message
        • POSTSet charger configuration
        • POSTReset authorization cache
        • POSTSend local authorization list
        • POSTClear local authorization list
        • POSTInject fault
        • POSTClear fault
        • POSTPlug connector
        • POSTUnplug connector
        • POSTUnlock connector
        • POSTStart transaction
        • POSTStop transaction
        • POSTStart session
        • POSTStop session
        • POSTAuthorize ID tag
        • POSTEV requests energy
        • POSTEV stops energy
        • POSTPower update
OCPPLAB Gateway APICharger OperationsCommands

Reset authorization cache

||View as Markdown|
POST
https://host.com/ocpp/commands/cache/reset
POST
/ocpp/commands/cache/reset
1import requests
2
3url = "https://host.com/ocpp/commands/cache/reset"
4
5payload = { "target": { "charger_id": "dep-123" } }
6headers = {
7 "Authorization": "Bearer <token>",
8 "Content-Type": "application/json"
9}
10
11response = requests.post(url, json=payload, headers=headers)
12
13print(response.json())
1{
2 "msg": "Authorization cache cleared",
3 "cleared_entries": 3
4}

Send a cache reset command to the selected charger. All cached ID-tag authorization results are discarded and the charger re-authorizes on next use.

Was this page helpful?
Previous

Set charger configuration

Next

Send local authorization list

Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
targetobjectRequired

Single-charger target for command endpoints that do not support locations.

eventobjectRequired
Empty event payload for commands that only need a target.

Response

Cache cleared
msgstring
cleared_entriesinteger

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error