---
title: "Detach Volume"
method: POST
path: "/apps/{appId}/volumes/{volumeId}/detach"
tags: ["Volumes"]
---

# Detach Volume

`POST /apps/{appId}/volumes/{volumeId}/detach`

Detaches a volume template from all application containers.

## Path parameters

- `appId` string, required
- `volumeId` string, required

## Response `200`

Volume was detached from the application.

- DetachVolumeResponse
  - `name` string

## Other responses

- `401` — User is unauthorized.
- `404` — Application or volume template not found.
- `500` — Unexpected server error.

---

[API](https://skmtc.net/bunny/apis/bunny-net-cdn-logging.md) · [All operations](https://skmtc.net/bunny/apis/bunny-net-cdn-logging/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bunny/bunny-net-cdn-logging/revisions/9e622620664b/schema)
