Ok I'm a little frustrated with NetApp support. After weeks they just sluffed me off to this group and told me to ask here.
I hope someone here can answer my question.
I have an ONTAP 9.8 system (and older versions as well).
I used to be able to create custom role with read/write on all volume and
snapshots commands but deny the following:
volume delete
snapshot delete
Commands looked like this:
security login role create -vserver lan01 -role lanadmin -cmddirname "volume snapshot delete" -access none
security login role create -vserver lan01 -role lanadmin -cmddirname "volume delete" -access none
I'm told these no longer work and that I have to use the new rest-role commands. I can't figure out the -api string to grant this same level of access. I have tried several iterations.
security login rest-role modify -vserver lan01 -role lanadmin -api
/api/storage/volumes/*/snapshots -access readonly
...
security login rest-role modify -vserver lan01 -role lanadmin
-api /api/storage/volumes/{volume.uuid}/snapshots/{uuid} -access readonly
NetApp support doesn't seem to know how to help with this request. Anyone here able to help?
Thanks
Sig