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

Path Parameters

vehicle
string
required

ID of the vehicle to delete.

Body

application/json · object

Response

200
application/json

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

The response is of type object.