v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01151216390.1 KB
Devbox
Devbox-PersistenceTools

Update metadata of Disk Snapshot.

Updates disk snapshot metadata via update vs patch. The entire metadata will be replaced.

post/v1/devboxes/disk_snapshots/{id}

Path parameters

idstring required

The Snapshot ID.

Request body

namestring nullable

(Optional) A user specified name to give the snapshot

metadataobject nullable

(Optional) Metadata used to describe the snapshot

commit_messagestring nullable

(Optional) Commit message associated with the snapshot (max 1000 characters)

Response

Snapshot created successfully.

idstring required

The unique identifier of the snapshot.

namestring nullable

(Optional) The custom name of the snapshot.

create_time_msinteger required

Creation time of the Snapshot (Unix timestamp milliseconds).

metadataobject required

User defined metadata associated with the snapshot.

source_devbox_idstring required

The source Devbox ID this snapshot was created from.

source_blueprint_idstring nullable

(Optional) The source Blueprint ID this snapshot was created from.

commit_messagestring nullable

(Optional) The commit message of the snapshot (max 1000 characters).

size_bytesinteger nullable

(Optional) The size of the snapshot in bytes, relative to the base blueprint.