pydo.nfs.delete()
Generated on 9 Jun 2026
from pydo version
v0.36.0
Usage
client.nfs.delete(nfs_id="0a1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d", region=None)Description
To delete an NFS share, send a DELETE request to /v2/nfs/{nfs_id}?region=${region}.
A successful request will return a 204 No Content status code.
Parameters
nfs_idstring requiredThe unique ID of the NFS share
regionstring optionalThe DigitalOcean region slug (e.g., nyc2, atl1) where the NFS share resides.
More Information
See /v2/nfs/{nfs_id} in the API reference for additional detail on responses, headers, parameters, and more.