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

# Update UaaS Stack

`PATCH /uaas/stacks/{stack_id}`

## Request

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

Update UaaS stack configuration. Accepts partial updates with at least one field required.

## Path parameters

- `stack_id` string, uuid, required

## Request body

- UaasStackUpdateDetailDto
  - `log_level` 'DEBUG' | 'INFO' | 'WARNING' | 'ERROR' | 'CRITICAL'
  - `log_retention` integer, nullable
  - `remote_support_enabled` boolean, nullable
  - `volume_refresh_interval` integer, nullable

## Response `200`

UaaS stack updated successfully

- UaasStackDetailDto
  - `id` string, uuid, required
  - `serial_number` string, uuid, required
  - `name` string, required
  - `build` string, nullable
  - `uaas_build` string, nullable
  - `cloud_provider` 'aws' | 'azure', required
  - `region` string, required
  - `created_date` string, date-time, required
  - `last_used_date` string, date-time, nullable
  - `uaas_api_url` string, uri, nullable
  - `blob_endpoint_url` string, uri, nullable
  - `s3_obj_lambda_buckets` object, nullable
  - `log_level` 'DEBUG' | 'INFO' | 'WARNING' | 'ERROR' | 'CRITICAL'
  - `log_retention` integer, nullable
  - `remote_support_enabled` boolean, nullable
  - `volume_refresh_interval` integer, nullable

## Other responses

- `401`: Not authenticated
- `403`: Insufficient permissions or license
- `404`: Resource not found
- `409`: Resource state conflict
- `422`: Invalid input data
- `500`: Internal server 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)
