---
title: "Detach a drive from a local path"
method: DELETE
path: "/drives/mount/{mountPath}"
tags: ["drive"]
---

# Detach a drive from a local path

`DELETE /drives/mount/{mountPath}`

Unmounts a previously mounted drive from the specified local path

## Path parameters

- `mountPath` string, required

## Response `200`

OK

- DriveUnmountResponse
  - `message` string
  - `mountPath` string
  - `success` boolean

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

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