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
        • GETList chargers
        • POSTCreate charger (durable)
        • GETGet charger provisioning status
        • GETGet charger
        • PUTUpdate charger
        • DELDelete charger
        • POSTStart charger runtime
        • POSTStop charger runtime
        • POSTRestart charger runtime
        • GETList charger logs
OCPPLAB Gateway APICore ResourcesChargers

Update charger

||View as Markdown|
PUT
https://host.com/ocpp/chargers/:charger_id
PUT
/ocpp/chargers/:charger_id
1import requests
2
3url = "https://host.com/ocpp/chargers/dep-123"
4
5payload = {
6 "charge_point_name": "Bay A02",
7 "connector_type": "CCS2",
8 "location_id": "5d4e8d84-6f1c-49a7-9e0d-5e6d65f0f4a2"
9}
10headers = {
11 "Authorization": "Bearer <token>",
12 "Content-Type": "application/json"
13}
14
15response = requests.put(url, json=payload, headers=headers)
16
17print(response.json())
1{
2 "id": "dep-123",
3 "identity": "CP-TEST-001",
4 "name": "Bay A02",
5 "vendor_name": "Wallbox",
6 "model": "Pulsar Plus",
7 "image_url": "https://example.com/pulsar-plus.png",
8 "ocpp_version": "OCPP1.6",
9 "number_of_connectors": 1,
10 "max_charging_power": 22000,
11 "connector_type": "CCS2",
12 "location_id": "5d4e8d84-6f1c-49a7-9e0d-5e6d65f0f4a2",
13 "created_at": "2026-04-02T09:15:00Z",
14 "updated_at": "2026-04-03T11:45:00Z"
15}
Update one charger deployment using a partial payload. Only provided fields are modified.
Was this page helpful?
Previous

Get charger

Next

Delete charger

Built with

Authentication

AuthorizationBearer

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

Path parameters

charger_idstringRequired
Internal charger deployment identifier returned by charger CRUD endpoints. Use charger identity for simulator and control endpoints.

Request

This endpoint expects an object.
namestring or nullOptional
charge_point_namestring or nullOptional
connector_typestring or nullOptional
ocpp_versionstring or nullOptional
ws_urlstring or nullOptional
location_idstring or nullOptional
location_namestring or nullOptional

Response

Charger updated successfully
idstring
identitystring
namestring or null
vendor_namestring or null
modelstring or null
image_urlstring or null
ocpp_versionstring or null
number_of_connectorsinteger or null
max_charging_powerinteger or null
connector_typestring or null
location_idstring or null
created_atdatetime or null
updated_atdatetime 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