Ok. I was able to find out the API document that describes the API call for snapshot.
The document i was looking up was C:/netapp-manageability-sdk-5.2/netapp-manageability-sdk-5.2/doc/perldoc/OntapClusterAPI.html#snapshot_delete
the following is what it describes for snapshot delete. When executing a script i get the following error:
<results errno='13005' status='failed' reason='Unable to find API: snapshot_delete'/>
In my opinion this should be a straight forward call, but doesnt look like that. Has anyone able to get this working?
Any pointers appreciated.
Delete a snapshot on a specified volume. EBUSY is returned when the snapshot is in use. EROFS is returned when the volume is read-only. EAGAIN is returned when splitting a blockmap or reverting.
This API is not supported on Infinite Volume.
- snapshot => string
Name of snapshot to be deleted on the specified volume.
- snapshot-instance-uuid => uuid, optional
The 128 bit unique snapshot identifier expressed in the form of UUID. This field is optional and can appear together with 'snapshot' to uniquely identify a snapshot for deletion. If this field is provided, 'snapshot' is a required parameter.An example of an actual UUID is:73a010ec-3d28-11df-84e8-123478563412
- volume => string
Name of the volume on which the snapshot is to be deleted.