---
title: "Archive Vehicle"
method: PATCH
path: "/vehicles/{id}/archive"
tags: ["Vehicles"]
---

# Archive Vehicle

`PATCH /vehicles/{id}/archive`

## Request

- Base URL: `https://secure.fleetio.com/api`
- URL: `https://secure.fleetio.com/api/vehicles/{id}/archive`
- Auth: API key in header `Authorization` and API key in header `Account-Token`
- TypeScript: <https://skmtc.dev/fleetio/apis/fleetio-developer-api/docs/vehicles/:id/archive/patch.ts> (a function with typed inputs; its response is checked against the schema)

Archive a Vehicle. Returns 422 when the Vehicle cannot be archived, for example when it has active Work Orders.

## Path parameters

- `id` string, required

## Response `204`

OK

## Other responses

- `401`: Request could not be authenticated
- `403`: Insufficient permission to perform this operation
- `404`: The requested resource could not be located
- `422`: Unprocessable Entity
- `500`: Something unexpected happened

## Changes

- **2026-11-06** `49558d744bd7`: 1 info
  - added the non-success response with the status `422`

[Operation history](https://skmtc.dev/fleetio/apis/fleetio-developer-api/changes/vehicles/:id/archive/patch.md)

---

[API](https://skmtc.dev/fleetio/apis/fleetio-developer-api.md) - [All operations](https://skmtc.dev/fleetio/apis/fleetio-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fleetio/apis/fleetio-developer-api/revisions/49558d744bd7?raw)
