Unpair Charging Station using OCPP format

The Unpair Charging Station endpoint is crucial to remove processing of incoming charger data. This endpoint allows the CPO or Jedlix to un-pair a Charging Station.

Use Cases

  • Inform Jedlix that a customer desires to remove the Charging Station via the CPO platform.
  • Inform CPO that a customer desires to remove the Charging Station via the Jedlix platform.
    • Jedlix expects the CPO to host this endpoint to unpair the charger with a constant path parameter role: cpo.

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: OK
  • 401: Unauthorized
  • 404: Not found
  • 500: Internal Server Error

Examples

Request initiated by the SCSP:

POST /v1/cpo/chargingstations/1657BAEB-DE8C-46A9-B74C-F7D844DEDE12/unpair
Content-Type: application/json

Request initiated by the CPO:

POST /v1/scsp/chargingstations/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., invalid uid):