Skip to content

Update a charger

POST
/api/chargers/{chargerId}

Post /api/chargers/:chargerId

Parameters

Path Parameters

chargerId
required
string

Request Body required

object
name
string
type
string
Allowed values: Private Public
plugncharge
boolean
requireTLS
boolean
ipWhitelist
string
asnWhitelist
string
disableCharging
boolean
basicAuthPassword
string
connectors
Array<object>
object
id
required
integer
> -9007199254740991 <= 9007199254740991
chargerId
required
string
type
string
nullable
Allowed values: J1772_Type1 Mennekes_Type2 GBT_AC Tesla CCS1 CCS2 CHAdeMO GBT_DC Other
maxPower
integer
nullable > -9007199254740991 <= 9007199254740991
maxCurrent
integer
nullable > -9007199254740991 <= 9007199254740991
status
string
nullable
Allowed values: Available Preparing Charging SuspendedEVSE SuspendedEV Finishing Reserved Unavailable Faulted
statusSince
string format: date-time
nullable
expectTransaction
boolean
nullable
error
string
nullable
Allowed values: ConnectorLockFailure EVCommunicationError GroundFailure HighTemperature InternalError LocalListConflict NoError OtherError OverCurrentFailure OverVoltage PowerMeterFailure PowerSwitchFailure ReaderFailure ResetFailure UnderVoltage WeakSignal
nextKeycardAction
string
nullable
Allowed values: BindToNamespace BindToLocation BindToCharger Unbind
locationId
string
nullable

Responses

200

Response for status ok

object
success
required
boolean
charger
required
Any of:
object
id
required
string
applicationId
required
string
namespaceId
required
string
locationId
string
userId
required
string
type
required
string
Allowed values: Private Public
name
required
string
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
tier
required
string
Allowed values: free enterprise
plugncharge
boolean
disableCharging
boolean
requireTLS
boolean
basicAuthPassword
string
ipWhitelist
string
asnWhitelist
string
connectionUrl
string
ocppVersion
string
ipAddress
string
userAgent
string
tlsVersion
string
state
required
string
Allowed values: Disconnected PreBooting Booting Ready
disconnectedReason
string
Allowed values: NeverConnected ConnectionLost ConnectionClosed ConnectionError Restarting Reconnecting
status
string
Allowed values: Available Preparing Charging SuspendedEVSE SuspendedEV Finishing Reserved Unavailable Faulted
statusSince
string format: date-time
error
string
Allowed values: ConnectorLockFailure EVCommunicationError GroundFailure HighTemperature InternalError LocalListConflict NoError OtherError OverCurrentFailure OverVoltage PowerMeterFailure PowerSwitchFailure ReaderFailure ResetFailure UnderVoltage WeakSignal
connectedSince
string format: date-time
disconnectedSince
string format: date-time
firmwareUpdateStatus
string
diagnosticsUploadStatus
string
nextKeycardAction
string
Allowed values: BindToNamespace BindToLocation BindToCharger Unbind
tierExpiry
string format: date-time
diagnosticsId
string
diagnosticsIdExpiry
string format: date-time
initialized
required
boolean
vendor
model
connectors
metadata
configuration
profiles
localAuthList

400

Response for status badRequest

object
success
required
boolean
message
required
string

403

Response for status forbidden

object
success
required
boolean
message
required
string

404

Response for status notFound

object
success
required
boolean
message
required
string

500

Response for status internalServerError

object
success
required
boolean
message
required
string