---
title: "Update Storage"
method: PATCH
path: "/applications/{uuid}/storages"
tags: ["Applications"]
---

# Update Storage

`PATCH /applications/{uuid}/storages`

Update a persistent storage or file storage by application UUID.

## Path parameters

- `uuid` string, required

## Request body

- object
  - `uuid` string — The UUID of the storage (preferred).
  - `id` integer — The ID of the storage (deprecated, use uuid instead).
  - `type` 'persistent' | 'file', required — The type of storage: persistent or file.
  - `is_preview_suffix_enabled` boolean — Whether to add -pr-N suffix for preview deployments.
  - `name` string — The volume name (persistent only, not allowed for read-only storages).
  - `mount_path` string — The container mount path (not allowed for read-only storages).
  - `host_path` string, nullable — The host path (persistent only, not allowed for read-only storages).
  - `content` string, nullable — The file content (file only, not allowed for read-only storages).

## Response `200`

Storage updated.

- object

## Other responses

- `400` — Invalid token.
- `401` — Unauthenticated.
- `404` — Resource not found.
- `422` — Validation error.

---

[API](https://skmtc.net/coollabsio/apis/coolify.md) · [All operations](https://skmtc.net/coollabsio/apis/coolify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coollabsio/coolify/versions/08be5dc8e729/schema)
