Unable to delete rest-role with API -api /api/network/fc/interfaces
Applies to
- ONTAP 9
- REST-API
Issue
Creating a custom role with the API call
/api/network/fc/interfaces
and access set to readonly
prevents the role from being deleted:cluster1::> security login rest-role delete -vserver svm1 -role custom-role -api /api/network/fc/interfaces
Warning: "custom-role" role has no access to the following commands (they are unsupported for Vserver administrators):
network interface create
network interface delete
network interface modify
Warning: This operation will also affect the following commands:
"network interface create"
"network interface delete"
"network interface modify"
Error: command failed: entry doesn't exist