---
title: "Removes the given vehicle"
method: DELETE
path: "/v1/resourceowner/vehicles/{vehicleId}"
tags: ["ResourceOwnerVehicleV2"]
---

# Removes the given vehicle

`DELETE /v1/resourceowner/vehicles/{vehicleId}`

Removes the given vehicle. If the vehicle is assoicated with a device, first move the device to another vehicle

## Path parameters

- `vehicleId` integer, required

## Response `200`

The vehicle has been deleted

## Other responses

- `403` — Request is forbidden, meaning you don't have access to this vehicle
- `404` — Not found, the vehicle you tried to update can't be found
- `500` — Internal server error

---

[API](https://skmtc.net/automile/apis/automile-api.md) · [All operations](https://skmtc.net/automile/apis/automile-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/automile/automile-api/revisions/bd42075f6b02/schema)
