Hi,
I am trying on a Linux server to create a script using either curl or python to create create, offline and delete cloned copies of existing snaps using the API interface on OnTap 9.8
There are many examples shown on github to help you create your scripts. Depending on your use case this may also be a good time to investigate Ansible. The use of Ansible allows control and automation of multiple devices.
NetApp / ontap-rest-pythonhttps://github.com/NetApp/ontap-rest-python/tree/master/examples/rest_api
Get started with automating your dev work flows with NetApp and Ansiblehttps://www.netapp.com/devops-solutions/ansible/
netapp.ontap.na_ontap_volume_clone – NetApp ONTAP manage volume clones.https://docs.ansible.com/ansible/latest/collections/netapp/ontap/na_ontap_volume_clone_module.html
Thank you for your post..
Though I am writing the script in BASH, the articles you suggested pointed me in the right direction to get it done..