Skip to main content
NetApp Knowledge Base

REST API call to DELETE not working after Ontap update to 9.12

Views:
144
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
Core
Last Updated:

Applies to

  • ONTAP 9
  • REST API
  • Domain account
  • System Manager

Issue

  • Domain account with adminin 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

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.