Skip to main content

Delete a vehicle

DELETE 

/vehicles/:id

Deletes the vehicle as the DMS does (a soft delete: it appears as a tombstone with include_deleted=true). Scope vehicles:write. Secret keys only.

Refused with 409 vehicle_in_deal for a vehicle on a deal and vehicle_has_purchase_order for one with a purchase order: set its status to SOLD or ARCHIVED instead.

Request​

Responses​

Deleted.

Response Headers
    X-Request-Id

    This request's id. Quote it to support.

    X-RateLimit-Limit

    Requests allowed per minute for this key.

    X-RateLimit-Remaining

    Requests left in the current minute.