- Update a vehicle's charging connectors
Update the vehicle's connectors. The body is a partial map: only the keys you include are changed. Set native_connector to override the model default for this vehicle, or null to inherit it. adaptors replaces the adapter list (send [] to clear); adaptors must be distinct and must not include the native connector. PATCH {} is a valid no-op.
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/vehicles/{vehicle_id}/connectors
- Live API for both production and sandbox requests.https://api.ev.energy/v2/vehicles/{vehicle_id}/connectors
- Staging server for internal testing only.https://api-staging.ev.energy/v2/vehicles/{vehicle_id}/connectors
curl -i -X PATCH \
https://developers.ev.energy/_mock/ev.energy-api-v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H/connectors \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'EvEnergy-Version: 2' \
-d '{
"native_connector": "CCS",
"adaptors": [
"CCS"
]
}'Connectors updated successfully.
Indicates the version of the API that generated this response. If EvEnergy-Version was not specified in the request, this will be your OAuth application's default version.
The maximum number of requests that can be made to this endpoint per hour. Defaults to 1000 but may vary per client.
The vehicle's built-in DC-fast plug. A per-vehicle override, falling back to the model's default connector when unset; null when not yet known.
Additional connectors usable via an adapter. Empty when none.
{ "url": "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H/connectors", "vehicle": "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H", "native_connector": "CCS", "adaptors": [ "CCS" ], "updated_at": "2019-08-24T14:15:22Z" }