> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# revokePermissionDirectory

<div className="kinetica-doxygen">
  <div id="a34995e14262a6adc7fbab57676c4c95d" />

  <h2 className="memtitle"><span className="permalink"><a href="#a34995e14262a6adc7fbab57676c4c95d">◆ </a></span>revokePermissionDirectory() <span className="overload">\[1/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cs/classkinetica_1_1RevokePermissionDirectoryResponse">RevokePermissionDirectoryResponse</a> kinetica.Kinetica.revokePermissionDirectory </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1RevokePermissionDirectoryRequest">RevokePermissionDirectoryRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
                <td>)</td>

                <td />
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>\[DEPRECATED–please use <a className="el" href="#a6d480be0eeec131c56e35ef7f393b6a6">revokePermission</a> instead] Revokes a <a href="/content/tools/kifs/" target="_top">KiFS</a> directory-level permission from a user or role. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L58591">58591</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a8e37cc434d7ac3413e4282e6174fcac7" />

  <h2 className="memtitle"><span className="permalink"><a href="#a8e37cc434d7ac3413e4282e6174fcac7">◆ </a></span>revokePermissionDirectory() <span className="overload">\[2/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cs/classkinetica_1_1RevokePermissionDirectoryResponse">RevokePermissionDirectoryResponse</a> kinetica.Kinetica.revokePermissionDirectory </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">permission</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">directory\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>\[DEPRECATED–please use <a className="el" href="#a6d480be0eeec131c56e35ef7f393b6a6">revokePermission</a> instead] Revokes a <a href="/content/tools/kifs/" target="_top">KiFS</a> directory-level permission from a user or role. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">name</td>
              <td>Name of the user or role from which the permission will be revoked. Must be an existing user or role.</td>
            </tr>

            <tr>
              <td className="paramname">permission</td>

              <td>
                Permission to revoke from the user or role. Supported values:

                <ul>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1RevokePermissionDirectoryRequest_1_1Permission#acf10aa746660445bdb21be98b2b6aa84">DIRECTORY\_READ</a>: For files in the directory, access to list files, download files, or use files in server side functions. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1RevokePermissionDirectoryRequest_1_1Permission#a1585965ff5900383b6d7fde8bedb8453">DIRECTORY\_WRITE</a>: Access to upload files to, or delete files from, the directory. A user or role with write access automatically has read access. </li>
                </ul>
              </td>
            </tr>

            <tr>
              <td className="paramname">directory\_name</td>
              <td>Name of the KiFS directory to which the permission revokes access.</td>
            </tr>

            <tr>
              <td className="paramname">options</td>
              <td>Optional parameters. The default value is an empty Dictionary.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L58652">58652</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a310eddc1d31c2ab53f1bea36430d4176" />

  <h2 className="memtitle"><span className="permalink"><a href="#a310eddc1d31c2ab53f1bea36430d4176">◆ </a></span>RevokePermissionDirectoryAsync() <span className="overload">\[1/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1RevokePermissionDirectoryResponse">RevokePermissionDirectoryResponse</a> > kinetica.Kinetica.RevokePermissionDirectoryAsync </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1RevokePermissionDirectoryRequest">RevokePermissionDirectoryRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>\[DEPRECATED–please use <a className="el" href="#a6d480be0eeec131c56e35ef7f393b6a6">revokePermission</a> instead] Revokes a <a href="/content/tools/kifs/" target="_top">KiFS</a> directory-level permission from a user or role. </p>
      <p>(async)</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L58610">58610</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a244d341ed3cbc6a0c5322bef9cf1d3e5" />

  <h2 className="memtitle"><span className="permalink"><a href="#a244d341ed3cbc6a0c5322bef9cf1d3e5">◆ </a></span>RevokePermissionDirectoryAsync() <span className="overload">\[2/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1RevokePermissionDirectoryResponse">RevokePermissionDirectoryResponse</a> > kinetica.Kinetica.RevokePermissionDirectoryAsync </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">permission</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">directory\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>\[DEPRECATED–please use <a className="el" href="#a6d480be0eeec131c56e35ef7f393b6a6">revokePermission</a> instead] Revokes a <a href="/content/tools/kifs/" target="_top">KiFS</a> directory-level permission from a user or role. </p>
      <p>(async)</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">name</td>
              <td>Name of the user or role from which the permission will be revoked. Must be an existing user or role.</td>
            </tr>

            <tr>
              <td className="paramname">permission</td>

              <td>
                Permission to revoke from the user or role. Supported values:

                <ul>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1RevokePermissionDirectoryRequest_1_1Permission#acf10aa746660445bdb21be98b2b6aa84">DIRECTORY\_READ</a>: For files in the directory, access to list files, download files, or use files in server side functions. </li>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1RevokePermissionDirectoryRequest_1_1Permission#a1585965ff5900383b6d7fde8bedb8453">DIRECTORY\_WRITE</a>: Access to upload files to, or delete files from, the directory. A user or role with write access automatically has read access. </li>
                </ul>
              </td>
            </tr>

            <tr>
              <td className="paramname">directory\_name</td>
              <td>Name of the KiFS directory to which the permission revokes access.</td>
            </tr>

            <tr>
              <td className="paramname">options</td>
              <td>Optional parameters. The default value is an empty Dictionary.</td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L58699">58699</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>
</div>
