v1

latestOpenAPI 3.1.02026-07-1213613295.5 KB
Applications

Update Storage

Update a persistent storage or file storage by application UUID.

patch/applications/{uuid}/storages

Path parameters

uuidstring required

UUID of the application.

Request body

uuidstring

The UUID of the storage (preferred).

idinteger

The ID of the storage (deprecated, use uuid instead).

type'persistent' | 'file' required

The type of storage: persistent or file.

is_preview_suffix_enabledboolean

Whether to add -pr-N suffix for preview deployments.

namestring

The volume name (persistent only, not allowed for read-only storages).

mount_pathstring

The container mount path (not allowed for read-only storages).

host_pathstring nullable

The host path (persistent only, not allowed for read-only storages).

contentstring nullable

The file content (file only, not allowed for read-only storages).

Response

Storage updated.

object required