> ## 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="a5f793acdd5d6c5214db0c5e0aef29465" />

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

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryResponse">RevokePermissionDirectoryResponse</a> gpudb::GPUdb::revokePermissionDirectory </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryRequest">RevokePermissionDirectoryRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
          <td>)</td>
          <td> const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>\[DEPRECATED–please use <a className="el" href="#a23100aed98b997cef0abdae25f01a1d3">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="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryRequest">Request</a> 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"><a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a0bee5fd68f799452bac2a6b33e90d9af" />

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

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryResponse">RevokePermissionDirectoryResponse</a> & gpudb::GPUdb::revokePermissionDirectory </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_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"><a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryResponse">RevokePermissionDirectoryResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>\[DEPRECATED–please use <a className="el" href="#a23100aed98b997cef0abdae25f01a1d3">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="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryRequest">Request</a> object containing the parameters for the operation. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="a19033c11cbb4b0e8e54d058b12c31dd3" />

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

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryResponse">RevokePermissionDirectoryResponse</a> gpudb::GPUdb::revokePermissionDirectory </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">name</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">permission</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">directoryName</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>\[DEPRECATED–please use <a className="el" href="#a55a1f3f0e5c95eb77a49e34b51ac9f09">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="paramdir">\[in]</td>
              <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="paramdir">\[in]</td>
              <td className="paramname">permission</td>

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

                <ul>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a38b6d7ae52943783786f521e530c4353">revoke\_permission\_directory\_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/cpp/namespacegpudb#a4d279d88a4084ac3e31e904afe861b4f">revoke\_permission\_directory\_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="paramdir">\[in]</td>
              <td className="paramname">directoryName</td>
              <td>Name of the KiFS directory to which the permission revokes access. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>
              <td>Optional parameters. The default value is an empty map.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a06ecd2c905e1c4bab33ae360b6f070e1" />

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

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryResponse">RevokePermissionDirectoryResponse</a> & gpudb::GPUdb::revokePermissionDirectory </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">name</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">permission</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">directoryName</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span>, </td>
        </tr>

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

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryResponse">RevokePermissionDirectoryResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>\[DEPRECATED–please use <a className="el" href="#a55a1f3f0e5c95eb77a49e34b51ac9f09">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="paramdir">\[in]</td>
              <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="paramdir">\[in]</td>
              <td className="paramname">permission</td>

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

                <ul>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a38b6d7ae52943783786f521e530c4353">revoke\_permission\_directory\_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/cpp/namespacegpudb#a4d279d88a4084ac3e31e904afe861b4f">revoke\_permission\_directory\_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="paramdir">\[in]</td>
              <td className="paramname">directoryName</td>
              <td>Name of the KiFS directory to which the permission revokes access. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>
              <td>Optional parameters. The default value is an empty map. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDirectoryResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
