Beta: This API is in active development and may change without notice.
func (
r *SandboxVolumeService) Update(ctx context.Context,
volume string,
body SandboxVolumeUpdateParams,
opts ...option.RequestOption) (res *VolumeResponse,
err error
)Beta: This API is in active development and may change without notice. Requires sandbox volumes to be enabled for your workspace. Update a volume's description or labels. Each field sent replaces the stored value; omitted fields are unchanged. Null, an empty description, or an empty labels object clears it. Only the volume's creator, or a role with sandboxes:exec, may update it.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
volume* | string | |
body* | SandboxVolumeUpdateParams | |
opts* | ...option.RequestOption |