---
title: "Update a Stack Volume"
method: PATCH
path: "/uaas/stacks/{stack_id}/volumes/{volume_id}"
tags: ["UniFS As A Service (UaaS)"]
---

# Update a Stack Volume

`PATCH /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/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update a volume on the stack. Handles path rules as a partial update.

## Path parameters

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

## Request body

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

## 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)
