How to Delete a Network File Storage Share

Validated on 13 Oct 2025 • Last edited on 20 Oct 2025

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 share permanently destroys all data in it. Recovery is not possible. Back up critical data before deleting your NFS share.

How to Delete a Share Using Automation

How to Delete a Share Using the DigitalOcean API
  1. Create a personal access token and save it for use with the API.
  2. Send a DELETE request to https://api.digitalocean.com/v2/nfs/{nfs_id}.

cURL

Using cURL:

curl -X DELETE \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $DIGITALOCEAN_TOKEN" \
  "https://api.digitalocean.com/v2/nfs/{share_id}?region=atl1"

How to Delete a Share Using the Control Panel

To delete a share from the control panel, click Network File Storage in the main menu.

On the Network File Storage page, find the share you want to delete in the list, then click its menu, then click Delete.

In the confirmation window that pops up, enter the name of the share, then click Delete to permanently delete the share and all of its data. Deletion is irreversible and recovery is not possible. Back up critical data before deleting your NFS share.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.