Skip to main content
PATCH
Change a charger

Authorizations

Authorization
string
header
required

An access token from accounts.plugchoice.com, for a personal API token, a person signed in through an app, or an OAuth client.

Scopes

chargers:write

Path Parameters

charger
string<uuid>
required

The charger's id

Body

application/json

What to change of a charger: only the fields sent change.

reference
string | null

Your team's own name for the charger, or null to remove it. Left out, it stays as it is.

Required string length: 1 - 255

Response

The charger, changed

A charger.

access
enum<string>
required

The caller's access to a charger or a location: the highest any of their teams has, within the token's reach. Each level grants everything below it. Accept levels you do not know: more may come.

Available options:
view,
basic,
sensitive,
full
blocked
boolean
required

Whether Plugchoice blocked the charger: a stop Plugchoice puts on a charger, which only Plugchoice lifts.

connection
object
required

Whether the charger is connected to Plugchoice.

created_at
string<date-time>
required
error
object | null
required

The fault the charger reports for itself rather than for one EVSE (OCPP 1.6's connector 0); null when it reports none.

evses
object[]
required

Its EVSEs, by number. Empty until the charger reports one.

firmware_version
string | null
required

The firmware version it reported last; null until it reports one.

history_starts_at
string<date-time> | null
required

When the charger's history starts for you: it changed hands then, and its transactions and logs from before are hidden from you, but for transactions at its location now under the team that holds that location now. Null when you see all of it.

id
string<uuid>
required

The charger's id.

identity
string
required

The name it connects with: its OCPP charge point identity.

licence
object
required

What the charger's licences allow it. Read only: licences are bought and managed elsewhere.

location
object | null
required

Where it is; null when it is at no location.

max_current_a
integer<int32> | null
required

The most current the charger may draw, per phase, as installed: its overcurrent protection. An EVSE's limit cannot exceed it. Null when it is not set.

model
object | null
required

The model it reported; null until it reports one.

ocpp_version
enum<string> | null
required

The OCPP version it speaks; null when it never connected.

Available options:
1.6,
2.0.1,
2.1
pincode
string | null
required

The code printed on the charger, which proves a person has it in hand when they add it to an account. Null below basic access.

reference
string | null
required

A team's own name for the charger, such as Garage: each team gives its own. With team_id a list shows that team's; otherwise it is the reference of the team you reach the charger through with the highest access (the oldest of them on a tie), which update_charger changes. Null when that team gave none.

serial_number
string | null
required

The serial number it reported; null when it did not.

setup_status
enum<string> | null
required

Where the charger's setup is; null when it is not known.

Available options:
pending,
completed
updated_at
string<date-time>
required

When the charger or one of its EVSEs last changed.