> ## 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.

# gpudb::RevokePermissionDatasourceRequest

> gpudb::RevokePermissionDatasourceRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a3d3fa1335f761ab3e7474e419aa3b6ee">GPUdb::revokePermissionDatasource</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source">gpudb/protocol/revoke\_permission\_datasource.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Member Functions</h2>
        </td>
      </tr>

      <tr className="memitem:a43789146f101b76b7e14b1d9fc0792df" id="r_a43789146f101b76b7e14b1d9fc0792df">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a43789146f101b76b7e14b1d9fc0792df">RevokePermissionDatasourceRequest</a> ()</td>
      </tr>

      <tr className="memdesc:a43789146f101b76b7e14b1d9fc0792df">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDatasourceRequest" title="A set of parameters for GPUdb::revokePermissionDatasource.">RevokePermissionDatasourceRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:a43789146f101b76b7e14b1d9fc0792df">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a3467d5c2dfb8d4798f0823efe38b4491" id="r_a3467d5c2dfb8d4798f0823efe38b4491">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a3467d5c2dfb8d4798f0823efe38b4491">RevokePermissionDatasourceRequest</a> (const std::string \&name\_, const std::string \&permission\_, const std::string \&datasourceName\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:a3467d5c2dfb8d4798f0823efe38b4491">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDatasourceRequest" title="A set of parameters for GPUdb::revokePermissionDatasource.">RevokePermissionDatasourceRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:a3467d5c2dfb8d4798f0823efe38b4491">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:ac1aaee4e843f2affebfc043d83ec7699" id="r_ac1aaee4e843f2affebfc043d83ec7699">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ac1aaee4e843f2affebfc043d83ec7699">name</a></td>
      </tr>

      <tr className="memdesc:ac1aaee4e843f2affebfc043d83ec7699">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the user or role from which the permission will be revoked. <br /></td>
      </tr>

      <tr className="separator:ac1aaee4e843f2affebfc043d83ec7699">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a02375b36d78d98c3adbc713bdf168852" id="r_a02375b36d78d98c3adbc713bdf168852">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a02375b36d78d98c3adbc713bdf168852">permission</a></td>
      </tr>

      <tr className="memdesc:a02375b36d78d98c3adbc713bdf168852">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Permission to revoke from the user or role. <br /></td>
      </tr>

      <tr className="separator:a02375b36d78d98c3adbc713bdf168852">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a250ba8a7a291e2d463fdeea0f53282fd" id="r_a250ba8a7a291e2d463fdeea0f53282fd">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a250ba8a7a291e2d463fdeea0f53282fd">datasourceName</a></td>
      </tr>

      <tr className="memdesc:a250ba8a7a291e2d463fdeea0f53282fd">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the data source on which the permission will be revoked. <br /></td>
      </tr>

      <tr className="separator:a250ba8a7a291e2d463fdeea0f53282fd">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:af83f8ba42ef2df453750cc5c639061a9" id="r_af83f8ba42ef2df453750cc5c639061a9">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#af83f8ba42ef2df453750cc5c639061a9">options</a></td>
      </tr>

      <tr className="memdesc:af83f8ba42ef2df453750cc5c639061a9">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:af83f8ba42ef2df453750cc5c639061a9">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a3d3fa1335f761ab3e7474e419aa3b6ee">GPUdb::revokePermissionDatasource</a>. </p>
      <p>Revokes a <a href="/content/concepts/data_sources/" target="_top">data source</a> permission from a user or role. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source#l00019">19</a> of file <a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source">revoke\_permission\_datasource.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a43789146f101b76b7e14b1d9fc0792df">◆ </a></span>RevokePermissionDatasourceRequest() <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">gpudb::RevokePermissionDatasourceRequest::RevokePermissionDatasourceRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </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>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDatasourceRequest" title="A set of parameters for GPUdb::revokePermissionDatasource.">RevokePermissionDatasourceRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source#l00025">25</a> of file <a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source">revoke\_permission\_datasource.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a3467d5c2dfb8d4798f0823efe38b4491">◆ </a></span>RevokePermissionDatasourceRequest() <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">gpudb::RevokePermissionDatasourceRequest::RevokePermissionDatasourceRequest </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">datasourceName\_</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>
              </table>
            </td>

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

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionDatasourceRequest" title="A set of parameters for GPUdb::revokePermissionDatasource.">RevokePermissionDatasourceRequest</a> object with the specified parameters. </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#af848bb407bd6b721f641a8422de01397">revoke\_permission\_datasource\_admin</a>: Admin access on the given data source. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a041176abe7689ef0f15de0e945ec05ab">revoke\_permission\_datasource\_connect</a>: Connect access on the given data source. </li>
                  </ul>
                </td>
              </tr>

              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">datasourceName\_</td>
                <td>Name of the data source on which the permission will be revoked. Must be an existing data source, or an empty string to revoke permission from all data sources. </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>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source#l00061">61</a> of file <a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source">revoke\_permission\_datasource.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a250ba8a7a291e2d463fdeea0f53282fd">◆ </a></span>datasourceName</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::RevokePermissionDatasourceRequest::datasourceName</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the data source on which the permission will be revoked. </p>
        <p>Must be an existing data source, or an empty string to revoke permission from all data sources. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source#l00094">94</a> of file <a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source">revoke\_permission\_datasource.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#ac1aaee4e843f2affebfc043d83ec7699">◆ </a></span>name</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::RevokePermissionDatasourceRequest::name</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the user or role from which the permission will be revoked. </p>
        <p>Must be an existing user or role. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source#l00073">73</a> of file <a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source">revoke\_permission\_datasource.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#af83f8ba42ef2df453750cc5c639061a9">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::RevokePermissionDatasourceRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>
        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source#l00099">99</a> of file <a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source">revoke\_permission\_datasource.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a02375b36d78d98c3adbc713bdf168852">◆ </a></span>permission</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::RevokePermissionDatasourceRequest::permission</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Permission to revoke from the user or role. </p>
        <p>Supported values: </p>

        <ul>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#af848bb407bd6b721f641a8422de01397">revoke\_permission\_datasource\_admin</a>: Admin access on the given data source. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a041176abe7689ef0f15de0e945ec05ab">revoke\_permission\_datasource\_connect</a>: Connect access on the given data source. </li>
        </ul>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source#l00087">87</a> of file <a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source">revoke\_permission\_datasource.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/revoke__permission__datasource_8h_source">revoke\_permission\_datasource.h</a></li>
    </ul>
  </div>
</div>
