ClearCache
Empties the station's authorization cache.
- Version
- OCPP 2.0.1
- Direction
- CSMS → Charge Point
- Functional block
- Authorization
ClearCache also exists in OCPP 1.6, with a different payload. See the OCPP 1.6 version.
Unchanged in purpose from 1.6. The response gains statusInfo, as most 2.0.1 responses do.
Request
No fields — the payload is an empty object {}.
json
[2, "19223201", "ClearCache", {}]Response
| Field | Type | Required | Description |
|---|---|---|---|
status | ClearCacheStatusEnumType | Required | Whether the cache was cleared. |
statusInfo | StatusInfoType | Optional | Reason code, when the result needs explaining. |
json
[3, "19223201", {
"status": "Accepted"
}]Values
ClearCacheStatusEnumType
| Value | Meaning |
|---|---|
Accepted | The cache was cleared. |
Rejected | Could not clear — commonly because caching is disabled. |
Implementation notes
Caching is controlled by the AuthCacheCtrlr component in the device model rather than a flat configuration key.