DELETE
/
drivers
/
{driver}
curl --request DELETE \
  --url https://api.chargeapi.co/v1/drivers/{driver} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "<string>",
  "object": "driver",
  "deleted": true
}

Path Parameters

driver
string
required

ID of the driver to delete.

Body

application/json · object

Response

200
application/json

Returns the deleted Driver object, including a deleted property set to true.

The response is of type object.