Delete
Delete a Volume Snapshot
client.gpuDroplets.volumes.snapshots.delete(stringsnapshotID, RequestOptionsoptions?): void
/v2/volumes/snapshots/{snapshot_id}
To delete a volume snapshot, send a DELETE request to
/v2/volumes/snapshots/$VOLUME_SNAPSHOT_ID
.
A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.
Parameters
snapshotID: string
Delete a Volume Snapshot
import Gradient from '@digitalocean/gradient';
const client = new Gradient();
await client.gpuDroplets.volumes.snapshots.delete('fbe805e8-866b-11e6-96bf-000f53315a41');