---
title: "Updates the properties of a drive."
method: PATCH
path: "/drives/{drive_id}"
---

# Updates the properties of a drive.

`PATCH /drives/{drive_id}`

Updates the properties of the drive with the ID specified by drive_id path parameter. Will fail if update is not possible.

## Path parameters

- `drive_id` string, required

## Request body

- PartialDrive
  - `drive_id` string, required
  - `path_on_host` string, required — Host level path for the guest drive

## Response `204`

Drive updated

## Other responses

- `400` — Drive cannot be updated due to bad input
- `default` — Internal server error.

---

[API](https://skmtc.dev/solo-io/apis/firecracker-api.md) · [All operations](https://skmtc.dev/solo-io/apis/firecracker-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/solo-io/firecracker-api/revisions/6e4082be4a32/schema)
