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

# revokePermissionCredential

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

  <h2 className="memtitle"><span className="permalink"><a href="#aa30344583dbc85d2c410b4b0051afad8">◆ </a></span>revokePermissionCredential() <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_1RevokePermissionCredentialResponse">RevokePermissionCredentialResponse</a> gpudb::GPUdb::revokePermissionCredential </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionCredentialRequest">RevokePermissionCredentialRequest</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/security/sec_concepts/#security-concepts-permissions-credential" target="_top">credential-level permission</a> 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_1RevokePermissionCredentialRequest">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_1RevokePermissionCredentialResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="af8a7c2d2e9fc43a3e5c340dab974c808" />

  <h2 className="memtitle"><span className="permalink"><a href="#af8a7c2d2e9fc43a3e5c340dab974c808">◆ </a></span>revokePermissionCredential() <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_1RevokePermissionCredentialResponse">RevokePermissionCredentialResponse</a> & gpudb::GPUdb::revokePermissionCredential </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1RevokePermissionCredentialRequest">RevokePermissionCredentialRequest</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_1RevokePermissionCredentialResponse">RevokePermissionCredentialResponse</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/security/sec_concepts/#security-concepts-permissions-credential" target="_top">credential-level permission</a> 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_1RevokePermissionCredentialRequest">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_1RevokePermissionCredentialResponse">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_1RevokePermissionCredentialResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="afd28eb5a078e910ab075f8883527cd4d" />

  <h2 className="memtitle"><span className="permalink"><a href="#afd28eb5a078e910ab075f8883527cd4d">◆ </a></span>revokePermissionCredential() <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_1RevokePermissionCredentialResponse">RevokePermissionCredentialResponse</a> gpudb::GPUdb::revokePermissionCredential </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">credentialName</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/security/sec_concepts/#security-concepts-permissions-credential" target="_top">credential-level permission</a> 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#aa1b748437ba3a3ee793e3c4922f7f779">revoke\_permission\_credential\_credential\_admin</a>: Full read/write and administrative access on the credential. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#aaaf88325b7aaa2955a7c6d633ee7bd32">revoke\_permission\_credential\_credential\_read</a>: Ability to read and use the credential. </li>
                </ul>
              </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">credentialName</td>
              <td>Name of the credential on which the permission will be revoked. Must be an existing credential, or an empty string to revoke access on all credentials. </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_1RevokePermissionCredentialResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a06a757e504e5c3b3c454d92e794555ab" />

  <h2 className="memtitle"><span className="permalink"><a href="#a06a757e504e5c3b3c454d92e794555ab">◆ </a></span>revokePermissionCredential() <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_1RevokePermissionCredentialResponse">RevokePermissionCredentialResponse</a> & gpudb::GPUdb::revokePermissionCredential </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">credentialName</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_1RevokePermissionCredentialResponse">RevokePermissionCredentialResponse</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/security/sec_concepts/#security-concepts-permissions-credential" target="_top">credential-level permission</a> 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#aa1b748437ba3a3ee793e3c4922f7f779">revoke\_permission\_credential\_credential\_admin</a>: Full read/write and administrative access on the credential. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#aaaf88325b7aaa2955a7c6d633ee7bd32">revoke\_permission\_credential\_credential\_read</a>: Ability to read and use the credential. </li>
                </ul>
              </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">credentialName</td>
              <td>Name of the credential on which the permission will be revoked. Must be an existing credential, or an empty string to revoke access on all credentials. </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_1RevokePermissionCredentialResponse">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_1RevokePermissionCredentialResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
