v4

OpenAPI 3.1.0MIT2026-08-04193459793.6 KB
Volumes

Update a volume

Update an existing volume's configuration or contents

patch/deployments/storage/volumes/{id}

Path parameters

idstring required

Volume ID or name.

Request body

namestring

Name is the new unique identifier for the volume within the project

type'readOnly'

Example request

{
  "content": {
    "source_prefix": "models/",
    "type": "files"
  }
}

Response

Volume updated successfully

created_atstring

CreatedAt is the ISO8601 timestamp when this volume was created

current_versioninteger

CurrentVersion is the current version number of this volume

idstring

ID is the unique identifier for this volume

mounted_bystring[]

MountedBy is the list of deployment IDs currently mounting current volume version

namestring

Name is the name of the volume

objectstring

Object is the type identifier for this response (always "volume")

type'readOnly'
updated_atstring

UpdatedAt is the ISO8601 timestamp when this volume was last updated

version_historyobject

VersionHistory contains previous versions of this volume, keyed by version number

Example response

{
  "content": {
    "source_prefix": "models/",
    "type": "files"
  }
}