Skip to main content
POST
Resize a persistent volume on a workspace.
See persistent volumes for mounting, capacity, and recovery guidance. Workspace root filesystem snapshots do not include volume contents.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Workspace ID

volume_id
string
required

Volume ID

Body

application/json
size_mb
integer<int32>
required
Required range: x >= 0

Response

200 - application/json

Volume resized

volume
object
required

A persistent volume attached to a workspace VM.

Backed by a host ext4 file (host_path) mounted in-guest at mount_path via a second Firecracker drive. Separate from the rootfs image, so its data survives a rootfs/image swap. Serialized over the wire for rig volume.