Actions27
NFS Export Policy → Update
AI-generatedSummary
Update the name of an existing NFS export policy on a specified NetApp ONTAP cluster.
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) — Identifier (ID) of the export policy to update.
- New Name (required) — New name to assign to the export policy.
- Options — Optional parameters including a comma-separated list of fields to include in the response (use '*' for all fields).
Output shape
a single JSON object containing the updated export policy details or job information if the update is asynchronous.
The update is performed by a PATCH request to the ONTAP REST API endpoint for the specified export policy. If the response contains a job object, the node polls until the job completes before returning. Errors are thrown on failure unless 'Continue On Fail' is enabled in the workflow.
Examples
Example 1: Update the name of an existing export policy
Set Cluster Host, keep default port 443, specify the export policy ID to update, provide the new name for the export policy, and optionally specify fields to return.