Actions27
CIFS Share → Delete
AI-generatedSummary
Delete a CIFS share from a specified ONTAP cluster and Storage Virtual Machine (SVM) by providing the cluster host, port, SVM name, and CIFS share name.
Inputs
- Cluster Host (required) — The hostname or IP address of the ONTAP cluster management LIF
- Port — HTTPS port for the ONTAP REST API, default is 443
- SVM (required) — The name of the Storage Virtual Machine (SVM) where the CIFS share exists
- Share Name (required) — The name of the CIFS share to delete
- Options — Optional parameters such as fields to include in the response (comma-separated list or * for all)
Output shape
a single record
Returns an object indicating success and the deleted share name. If the ONTAP API returns a job, it will poll until completion and include job details in the response.
Examples
Example 1: Delete the CIFS share named 'MyShare' in SVM 'MySVM' on ONTAP cluster 'cluster.example.com'
Specify clusterHost as 'cluster.example.com', clusterPort (default 443), shareSvm as 'MySVM', and shareName as 'MyShare'. Execute the 'Delete' operation for the CIFS Share resource.