Skip to main content
PUT
/
v3
/
chargers
/
{charger}
/
connectors
/
{connector_id}
Update Connector
curl --request PUT \
  --url https://app.plugchoice.com/api/v3/chargers/{charger}/connectors/{connector_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phase_rotation": "<string>",
  "max_amperage": 123
}
'
{
  "id": 123,
  "charger_id": 123,
  "connector_id": 123,
  "status": "<string>",
  "error": "<string>",
  "error_info": "<string>",
  "vendor_id": "<string>",
  "vendor_error_code": "<string>",
  "max_amperage": 123,
  "max_voltage": 123,
  "standard": "<string>",
  "format": "<string>",
  "power_type": "<string>",
  "phase_rotation": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>"
}
Updates the phase rotation and max amperage configuration for a specific connector.
charger
string
required
The UUID of the charger.
connector_id
integer
required
The OCPP connector ID.
phase_rotation
string
required
The phase rotation configuration. Valid values for 3 phases: RST, RTS, SRT, STR, TRS, TSR. Valid values for 2 phases: RS, RT, SR, ST, TR, TS. Valid values for 1 phase: R, S, T.
max_amperage
integer
required
The maximum amperage for the connector. Must be between 1 and 1000.

Response

id
integer
The internal ID of the connector.
charger_id
integer
The ID of the parent charger.
connector_id
integer
The OCPP connector ID.
status
string
The current status of the connector.
error
string
The current error code, if any.
error_info
string
Additional error information.
vendor_id
string
The vendor identifier.
vendor_error_code
string
A vendor-specific error code.
max_amperage
integer
The maximum amperage for the connector.
max_voltage
integer
The maximum voltage for the connector.
standard
string
The connector standard.
format
string
The connector format.
power_type
string
The power type.
phase_rotation
string
The phase rotation configuration.
created_at
string
ISO 8601 timestamp of when the connector was created.
updated_at
string
ISO 8601 timestamp of when the connector was last updated.