Unpair EVSE using OCPI format
Unpair EVSE using OCPI format
The Unpair EVSE endpoint is crucial to remove processing of incoming charger data. This endpoint allows the CPO or Jedlix to un-pair an EVSE.
Use Cases
- Inform Jedlix that a customer desires to remove the EVSE via the CPO platform.
- Inform CPO that a customer desires to remove the EVSE via the Jedlix platform.
- Jedlix expects the CPO to host this endpoint to unpair the charger with a constant path parameter
role: cpo
.
- Jedlix expects the CPO to host this endpoint to unpair the charger with a constant path parameter
Endpoint details
URL: POST /v1/{role]/chargingstations/{uid}/unpair
Path parameters:
role
: Specifies the role of the party that is informed of the change (e.g. cpo, scsp).uid
: Specifies the unique identifier of the charging station to be un-paired.
Response Codes:
200
: OK401
: Unauthorized404
: Not found500
: Internal Server Error
Examples
Request initiated by the SCSP:
POST /v1/cpo/evse/1657BAEB-DE8C-46A9-B74C-F7D844DEDE12/unpair
Content-Type: application/json
Request initiated by the CPO:
POST /v1/scsp/evse/1657BAEB-DE8C-46A9-B74C-F7D844DEDE12/unpair
Content-Type: application/json
Responses
200
: OK - Charging station un-pairing successful{ "message": "Charging station successfully unpaired." }
404
: Not Found - Un-pairing failed (e.g., invaliduid
):
-
404 Not Found { "message": "The specified charging station is not valid or does not exist." }
Updated 9 months ago