# How to Delete a Network File Storage Snapshot Network File Storage is a fully managed, POSIX-compliant file storage solution built for demanding workloads like AI/ML pipelines, containerized applications, and DigitalOcean Kubernetes (DOKS) clusters. It provides scalable, high-throughput shared storage that simplifies storage management for distributed applications. Deleting a snapshot permanently removes it. You cannot recover a deleted snapshot. ## Delete a Snapshot Using the Control Panel To delete a snapshot from the [Control Panel](https://cloud.digitalocean.com), click **Network File Storage** in the main menu, then click the **Snapshots** tab. Click the share name to show the snapshot list for that share. Click the **…** “more” menu next to the snapshot you want to delete, then click **Delete Snapshot**. In the confirmation window, enter the snapshot name to confirm, then click **Delete**. ## Delete a Snapshot Using the CLI ## How to Delete a Network File Storage Snapshot Using the DigitalOcean CLI 1. [Install `doctl`](https://docs.digitalocean.com/reference/doctl/how-to/install/index.html.md), the official DigitalOcean CLI. 2. [Create a personal access token](https://docs.digitalocean.com/reference/api/create-personal-access-token/index.html.md) and save it for use with `doctl`. 3. Use the token to grant `doctl` access to your DigitalOcean account. ```shell doctl auth init ``` 4. Finally, run `doctl nfs snapshot delete`. Basic usage looks like this, but you can [read the usage docs](https://docs.digitalocean.com/reference/doctl/reference/nfs/snapshot/delete/index.html.md) for more details: ```shell doctl nfs snapshot delete [flags] ``` ```shell doctl nfs snapshot delete --region 'atl1' --id b050990d-4337-4a9d-9c8d-9f759a83936a ``` ## Delete a Snapshot Using the API To delete a snapshot via the API, send a `DELETE` request to the NFS snapshot endpoint: ```shell curl -X DELETE \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ "https://api.digitalocean.com/v2/nfs/snapshots/?region=" ``` Replace `` with the ID of the snapshot you want to delete. Replace `` with the region where the share is located. ## How to Delete a Network File Storage Snapshot Using the DigitalOcean API 1. [Create a personal access token](https://docs.digitalocean.com/reference/api/create-personal-access-token/index.html.md) and save it for use with the API. 2. Send a DELETE request to [`https://api.digitalocean.com/v2/nfs/snapshots/{nfs_snapshot_id}`](https://docs.digitalocean.com/reference/api/digitalocean//index.html.md#operation/nfs_delete_snapshot). ### cURL Using cURL: ```shell curl -X DELETE \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \ "https://api.digitalocean.com/v2/nfs/snapshots/{snapshot_id}?region=atl1" ```