---
title: "Remove a Volume from Stack (legacy sync)"
method: DELETE
path: "/uaas/stacks/{stack_id}/volumes/{volume_id}"
tags: ["UniFS As A Service (UaaS)"]
---

# Remove a Volume from Stack (legacy sync)

`DELETE /uaas/stacks/{stack_id}/volumes/{volume_id}`

## Request

- Base URL: `https://am1.portal.api.nasuni.com`
- URL: `https://am1.portal.api.nasuni.com/uaas/stacks/{stack_id}/volumes/{volume_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nasuni/apis/portal-api/docs/uaas/stacks/:stack_id/volumes/:volume_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Remove a volume from the NDS stack configuration synchronously.

Preserved as a backward-compatible v1 contract for existing clients that
still deserialize ``UaasVolumeNdsDto`` and expect a 200 response. New
clients should use ``POST /stacks/{stack_id}/volumes/{volume_id}:unregister``,
which dispatches the ``uaas_volume_unregister`` command to the edge and
returns a ``TaskSummaryDto`` for asynchronous tracking.

## Path parameters

- `stack_id` string, uuid, required
- `volume_id` string, required

## Response `200`

Successful Response

- UaasVolumeNdsDto
  - `nds` boolean, nullable
  - `nds_excluded_paths` string, nullable
  - `nds_included_paths` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/nasuni/apis/portal-api.md) - [All operations](https://skmtc.dev/nasuni/apis/portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nasuni/apis/portal-api/revisions/2a505bec6d14?raw)
