Skip to content

Delete an NFS snapshot

delete/v2/nfs/snapshots/{nfs_snapshot_id}

To delete an NFS snapshot, send a DELETE request to /v2/nfs/snapshots/{nfs_snapshot_id}?region=${region}.

A successful request will return a 204 No Content status code.

Path ParametersExpand Collapse
nfs_snapshot_id: string
Query ParametersExpand Collapse
region: string

The DigitalOcean region slug (e.g., nyc2, atl1) where the NFS share resides.

Delete an NFS snapshot
curl https://api.digitalocean.com/v2/nfs/snapshots/$NFS_SNAPSHOT_ID \
    -X DELETE \
    -H "Authorization: Bearer $DIGITALOCEAN_ACCESS_TOKEN"
Returns Examples