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

Send local authorization list

||View as Markdown|
POST
https://host.com/ocpp/commands/local-auth-list
POST
/ocpp/commands/local-auth-list
1import requests
2
3url = "https://host.com/ocpp/commands/local-auth-list"
4
5payload = {
6 "target": { "charger_id": "dep-123" },
7 "event": {
8 "list_version": 2,
9 "entries": [
10 {
11 "id_tag": "TAG-RFID-001",
12 "expiry_date": "2026-12-31T23:59:59Z"
13 },
14 {
15 "id_tag": "TAG-RFID-002",
16 "expiry_date": "2026-06-30T23:59:59Z"
17 }
18 ]
19 }
20}
21headers = {
22 "Authorization": "Bearer <token>",
23 "Content-Type": "application/json"
24}
25
26response = requests.post(url, json=payload, headers=headers)
27
28print(response.json())
1{
2 "status": "Accepted",
3 "list_version": 2,
4 "entries_received": 2
5}

Send a local authorization list update to the selected charger. list_version must increase on each update so the charger can detect stale pushes.

Was this page helpful?
Previous

Reset authorization cache

Next

Clear 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
Command payload for local authorization list upload.

Response

Local auth list sent
statusstring or null
list_versioninteger or null
entries_receivedinteger or null
msgstring or null
entries_deletedinteger or null

Errors

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