---
title: "Remove a vehicle"
method: DELETE
path: "/api/v1/vehicles/{id}"
tags: ["Vehicles"]
---

# Remove a vehicle

`DELETE /api/v1/vehicles/{id}`

## Request

- Base URL: `https://fleetkeep.co.uk`
- URL: `https://fleetkeep.co.uk/api/v1/vehicles/{id}`
- Auth: OAuth 2 (authorization code, authorization URL `https://fleetkeep.co.uk/auth/oauth2/authorize`, token URL `https://fleetkeep.co.uk/auth/oauth2/token`, scopes: `vehicles:write`)

Two-step destructive action. The first request verifies ownership and returns 409 confirmation_required with a five-minute token. Retry with that token in X-Fleetkeep-Confirmation. The token is bound to the user, access token, action, vehicle and current vehicle version; any vehicle update invalidates it.

## Headers

- `X-Fleetkeep-Confirmation` string

## Response `204`

Vehicle deleted.

## Other responses

- `401`: Missing or invalid Bearer access token.
- `403`: Token does not include the required scope.
- `404`: The requested resource does not exist on the authorised user's account, is the wrong event type, or is immutable history for this operation.
- `409`: Confirmation is required, invalid, expired or invalidated by a vehicle update.
- `429`: Per-token rate limit exceeded (60 requests per minute).

---

[API](https://skmtc.dev/fleetkeep/apis/fleetkeep-api.md) · [All operations](https://skmtc.dev/fleetkeep/apis/fleetkeep-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fleetkeep/apis/fleetkeep-api/revisions/ace19bc0d64d?raw)
