<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic What role permissions are needed for Powershell Remove-NcFile (API file-delete-file) in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/What-role-permissions-are-needed-for-Powershell-Remove-NcFile-API-file-delete/m-p/143125#M2730</link>
    <description>&lt;P&gt;Hi Folk,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We want to delegate the permissions to allow people to delete files and directories directly off the cluster, but for the life of me I can't see what permissions (CMD structure) we would have to give them!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data ONTAP PowerShell Toolkit: APIs&lt;/P&gt;
&lt;TABLE border="1" width="100%" cellspacing="0" cellpadding="1"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="NavBarCell1"&gt;&lt;STRONG&gt;API&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD class="NavBarCell1"&gt;&lt;STRONG&gt;PowerShell Command&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="1" class="NavBarCell1"&gt;file-delete-directory&lt;/TD&gt;
&lt;TD colspan="1" class="NavBarCell1"&gt;&lt;STRONG&gt;&lt;A target="_blank"&gt;Remove-NcDirectory&lt;/A&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="1" class="NavBarCell1"&gt;file-delete-file&lt;/TD&gt;
&lt;TD colspan="1" class="NavBarCell1"&gt;&lt;STRONG&gt;&lt;A target="_blank"&gt;Remove-NcFile&lt;/A&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance, for Remove-NcQtree you would give them permission for "&lt;STRONG&gt;volume qtree delete&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But there does not appear to be directly relevent commands for the API file-delete-file&amp;nbsp; and&amp;nbsp; file-delete-directory&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Stuart&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ONTAP&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9.3P4&lt;/P&gt;
&lt;P&gt;Powershell Module Version :&amp;nbsp; 4.4.0&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PSVersion:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5.1.14409.1005&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 13:15:52 GMT</pubDate>
    <dc:creator>OZWALKERZ</dc:creator>
    <dc:date>2025-06-04T13:15:52Z</dc:date>
    <item>
      <title>What role permissions are needed for Powershell Remove-NcFile (API file-delete-file)</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/What-role-permissions-are-needed-for-Powershell-Remove-NcFile-API-file-delete/m-p/143125#M2730</link>
      <description>&lt;P&gt;Hi Folk,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We want to delegate the permissions to allow people to delete files and directories directly off the cluster, but for the life of me I can't see what permissions (CMD structure) we would have to give them!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data ONTAP PowerShell Toolkit: APIs&lt;/P&gt;
&lt;TABLE border="1" width="100%" cellspacing="0" cellpadding="1"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="NavBarCell1"&gt;&lt;STRONG&gt;API&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD class="NavBarCell1"&gt;&lt;STRONG&gt;PowerShell Command&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="1" class="NavBarCell1"&gt;file-delete-directory&lt;/TD&gt;
&lt;TD colspan="1" class="NavBarCell1"&gt;&lt;STRONG&gt;&lt;A target="_blank"&gt;Remove-NcDirectory&lt;/A&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="1" class="NavBarCell1"&gt;file-delete-file&lt;/TD&gt;
&lt;TD colspan="1" class="NavBarCell1"&gt;&lt;STRONG&gt;&lt;A target="_blank"&gt;Remove-NcFile&lt;/A&gt;&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance, for Remove-NcQtree you would give them permission for "&lt;STRONG&gt;volume qtree delete&lt;/STRONG&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But there does not appear to be directly relevent commands for the API file-delete-file&amp;nbsp; and&amp;nbsp; file-delete-directory&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Stuart&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ONTAP&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9.3P4&lt;/P&gt;
&lt;P&gt;Powershell Module Version :&amp;nbsp; 4.4.0&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PSVersion:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5.1.14409.1005&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:15:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/What-role-permissions-are-needed-for-Powershell-Remove-NcFile-API-file-delete/m-p/143125#M2730</guid>
      <dc:creator>OZWALKERZ</dc:creator>
      <dc:date>2025-06-04T13:15:52Z</dc:date>
    </item>
  </channel>
</rss>

