REST API POST /api/storage/quota fails "not authorized for that command"
Applies to
- ONTAP 9.8
- REST API
- ONTAP System Manager (OSM)
Issue
- REST API fails with "not authorized for that command" for user with following role ROLENAME:
cluster1::> security login rest-role show -role ROLENAME Role Access Vserver Name API Level ---------- ------------- ------------------- ------ cluster1 ROLENAME /api/storage/quota all
The test fails with:
{ "error": { "message": "not authorized for that command", "code": "6" }
- The equivalent in ZAPI works fine