Skip to main content
PATCH
Replaces the session’s persistent volume configuration. Volumes are stored in session metadata and merged into runtm.yaml by name at deploy time. Volume names must be unique within the request. Required scope: deployments:write

Path Parameters

string
required
The session ID (UUID).

Headers

string
required
Bearer token. Example: Bearer runtm_xxx
string
Scope to an organization.

Body

array
required
List of volume specifications. Each volume must have a unique name.
string
required
Volume name (used as the identifier when merging into runtm.yaml).
string
required
Mount path inside the container (e.g. /data).
integer
required
Volume size in gigabytes.

Response

array
The updated list of volume specifications.