Skip to content
  • Auto
  • Light
  • Dark

Snapshots

Snapshots

Create Snapshot from a Volume
client.gpuDroplets.volumes.snapshots.create(stringvolumeID, SnapshotCreateParams { name, tags } body, RequestOptionsoptions?): SnapshotCreateResponse { snapshot }
post/v2/volumes/{volume_id}/snapshots
Delete a Volume Snapshot
client.gpuDroplets.volumes.snapshots.delete(stringsnapshotID, RequestOptionsoptions?): void
delete/v2/volumes/snapshots/{snapshot_id}
List Snapshots for a Volume
client.gpuDroplets.volumes.snapshots.list(stringvolumeID, SnapshotListParams { page, per_page } query?, RequestOptionsoptions?): SnapshotListResponse { meta, links, snapshots }
get/v2/volumes/{volume_id}/snapshots
Retrieve an Existing Volume Snapshot
client.gpuDroplets.volumes.snapshots.retrieve(stringsnapshotID, RequestOptionsoptions?): SnapshotRetrieveResponse { snapshot }
get/v2/volumes/snapshots/{snapshot_id}