REST API POST /API/storage/配额 失败"未授权此命令"
适用场景
- ONTAP 9.8
- REST API
- ONTAP系统管理器(OSM)
问题描述
- 对于角色为 RoleName的用户、REST API将失败、并显示"Nnot authorized for that command":
cluster1::> security login rest-role show -role ROLENAME Role Access Vserver Name API Level ---------- ------------- ------------------- ------ cluster1 ROLENAME /api/storage/quota all
测试失败、并显示:
{ "error": { "message": "not authorized for that command", "code": "6" }
- ZAPI中的等效项工作正常