> ## 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-javadoc">
  <ul className="member-list">
    <li>
      <div className="section detail" id="revokePermissionCredential(com.gpudb.protocol.RevokePermissionCredentialRequest)">
        <h3>revokePermissionCredential</h3>
        <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/RevokePermissionCredentialResponse" title="class in com.gpudb.protocol">RevokePermissionCredentialResponse</a></span> <span className="element-name">revokePermissionCredential</span><wbr /><span className="parameters">(<a href="/content/api/java/com/gpudb/protocol/RevokePermissionCredentialRequest" title="class in com.gpudb.protocol">RevokePermissionCredentialRequest</a> request)</span> throws <span className="exceptions"><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></span></div>
        <div className="block">\[DEPRECATED--please use <a href="#revokePermission(com.gpudb.protocol.RevokePermissionRequest)"><code>revokePermission</code></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.</div>

        <div className="dl notes">
          <div className="dt">Parameters:</div>
          <div className="dd"><code>request</code> - <a href="/content/api/java/com/gpudb/protocol/RevokePermissionCredentialRequest" title="class in com.gpudb.protocol"><code>Request</code></a> object containing the parameters for the operation.</div>
          <div className="dt">Returns:</div>
          <div className="dd"><a href="/content/api/java/com/gpudb/protocol/RevokePermissionCredentialResponse" title="class in com.gpudb.protocol"><code>Response</code></a> object containing the results of the operation.</div>
          <div className="dt">Throws:</div>
          <div className="dd"><code><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></code> - if an error occurs during the operation.</div>
        </div>
      </div>
    </li>

    <li>
      <div className="section detail" id="revokePermissionCredential(java.lang.String,java.lang.String,java.lang.String,java.util.Map)">
        <h3>revokePermissionCredential</h3>
        <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/RevokePermissionCredentialResponse" title="class in com.gpudb.protocol">RevokePermissionCredentialResponse</a></span> <span className="element-name">revokePermissionCredential</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> name, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> permission, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> credentialName, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> options)</span> throws <span className="exceptions"><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></span></div>
        <div className="block">\[DEPRECATED--please use <a href="#revokePermission(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Map)"><code>revokePermission</code></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.</div>

        <div className="dl notes">
          <div className="dt">Parameters:</div>
          <div className="dd"><code>name</code> - Name of the user or role from which the permission will be revoked. Must be an existing user or role.</div>

          <div className="dd">
            <code>permission</code> - Permission to revoke from the user or role. Supported values:

            <ul>
              <li><a href="/content/api/java/com/gpudb/protocol/RevokePermissionCredentialRequest.Permission#CREDENTIAL_ADMIN"><code>CREDENTIAL\_ADMIN</code></a>: Full read/write and administrative access on the credential. </li>
              <li><a href="/content/api/java/com/gpudb/protocol/RevokePermissionCredentialRequest.Permission#CREDENTIAL_READ"><code>CREDENTIAL\_READ</code></a>: Ability to read and use the credential. </li>
            </ul>
          </div>

          <div className="dd"><code>credentialName</code> - 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.</div>
          <div className="dd"><code>options</code> - Optional parameters. The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link"><code>Map</code></a>.</div>
          <div className="dt">Returns:</div>
          <div className="dd"><a href="/content/api/java/com/gpudb/protocol/RevokePermissionCredentialResponse" title="class in com.gpudb.protocol"><code>Response</code></a> object containing the results of the operation.</div>
          <div className="dt">Throws:</div>
          <div className="dd"><code><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></code> - if an error occurs during the operation.</div>
        </div>
      </div>
    </li>
  </ul>
</div>
