NetApp ONTAP NAS icon

NetApp ONTAP NAS

Manage NetApp ONTAP CIFS shares, NFS exports, and NAS protocols

Actions27

NFS Export Policy → Delete

AI-generated

Summary

Delete an NFS export policy from a NetApp ONTAP cluster by specifying its ID and cluster connection details.

Inputs

  • Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF.
  • Port — HTTPS port for the ONTAP REST API, defaults to 443.
  • Export Policy (required) — The identifier (ID) of the NFS export policy to delete.
  • Options — Optional parameters to customize the API request, such as specifying fields to include in the response.

Output shape

a JSON object indicating success and the ID of the deleted export policy, or async job details if deletion is processed as a job.

If the API response includes a job, the node polls until job completion and returns the final job result. Without a job, returns a simple success confirmation with the deleted export policy ID.

Examples

Example 1: Delete an NFS export policy by ID from a specific ONTAP cluster

Provide the cluster host and optional port, set the operation to Delete, select the NFS Export Policy resource, and specify the export policy ID. Optionally include response fields to retrieve using the Options collection.

Links

Discussion