REST API call to DELETE not working after Ontap update to 9.12
Applies to
- ONTAP 9
- REST API
- Domain account
- System Manager
Issue
- Domain account with admin in role is able to delete files with System Manager or API
- The same account generates an error while deleting a folder
Error: "not authorized for that command"
- AUDIT Log :
Wed Jan 01 2000 01:00:00 +02:00 [kern_audit:info:3416] 8503e800004ae3c2 :: Cluster1-01: http :: 192.168.0.1:65529 :: Cluster1-01:admin :: DELETE /api/storage/volumes/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx/files/Test1?recurse=true :: Error: not authorized for that command
-
MGWD Log:
Wed Jan 01 2000 01:00:00 +02:00 [kern_mgwd:info:3416] ZSM: parse error=Document is empty {na_zapi_get_elem_from_raw_xml:1009}
Wed Jan 01 2000 01:00:00 +02:00 [kern_mgwd:info:3416] 0x823efd700: 8803e90000101a28: ERR: file_list_dir_rest_view: remove_imp:src/tables/rest/file_list_dir_rest_view.cc:337 Failed to fast delete a directory with path Test1/ on volume vol1. Reason: not authorized for that command