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

FieldTypeRequiredDescription
statusClearCacheStatusEnumTypeRequiredWhether the cache was cleared.
statusInfoStatusInfoTypeOptionalReason code, when the result needs explaining.
json
[3, "19223201", {
  "status": "Accepted"
}]

Values

ClearCacheStatusEnumType

ValueMeaning
AcceptedThe cache was cleared.
RejectedCould 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.