Actions27
NFS Export Rule → Delete
AI-generatedSummary
Delete an NFS export rule from a specified export policy on a NetApp ONTAP cluster by providing the cluster host, export policy ID, and the rule's index.
Inputs
- Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF where the export rule resides.
- Port — HTTPS port to use for the ONTAP REST API, defaults to 443.
- Export Policy (required) — The ID of the export policy that contains the NFS export rule to delete.
- Rule Index (required) — The index number of the export rule within the specified export policy to delete.
- Options — Optional settings including 'Fields' to specify a comma-separated list of fields to include in the response.
Output shape
a single JSON object confirming deletion status or the job response if asynchronous
If the deletion returns a job, the node polls until completion and returns job details; otherwise, it returns a success confirmation with the deleted rule index.
Examples
Example 1: Delete an NFS export rule
Specify the cluster host, the export policy ID that contains the rule, and the rule index to delete that specific export rule.