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

# dropSession

<div className="kinetica-javadoc">
  <ul className="member-list">
    <li>
      <div className="section detail" id="dropSession(com.gpudb.protocol.DropSessionRequest)">
        <h3>dropSession</h3>
        <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/DropSessionResponse" title="class in com.gpudb.protocol">DropSessionResponse</a></span> <span className="element-name">dropSession</span><wbr /><span className="parameters">(<a href="/content/api/java/com/gpudb/protocol/DropSessionRequest" title="class in com.gpudb.protocol">DropSessionRequest</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">
          Ends the client session named by the X-Kinetica-Session HTTP header of this request, dropping every session temp table (a table created in SQL as #name) that belongs to it. Objects outside the session that depend on those tables are invalidated, not dropped.
          <p> A client sends its session ID in the X-Kinetica-Session HTTP header to every endpoint (e.g., /execute/sql), and needs to call this endpoint only when a response's info map has carried session\_id\_used set to true. </p>
          <p> Only the user that owns the session, or a system administrator, may drop it. Dropping an unknown session is a no-op.</p>
        </div>

        <div className="dl notes">
          <div className="dt">Parameters:</div>
          <div className="dd"><code>request</code> - <a href="/content/api/java/com/gpudb/protocol/DropSessionRequest" 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/DropSessionResponse" 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="dropSession(java.util.Map)">
        <h3>dropSession</h3>
        <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/DropSessionResponse" title="class in com.gpudb.protocol">DropSessionResponse</a></span> <span className="element-name">dropSession</span><wbr /><span className="parameters">(<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">
          Ends the client session named by the X-Kinetica-Session HTTP header of this request, dropping every session temp table (a table created in SQL as #name) that belongs to it. Objects outside the session that depend on those tables are invalidated, not dropped.
          <p> A client sends its session ID in the X-Kinetica-Session HTTP header to every endpoint (e.g., /execute/sql), and needs to call this endpoint only when a response's info map has carried session\_id\_used set to true. </p>
          <p> Only the user that owns the session, or a system administrator, may drop it. Dropping an unknown session is a no-op.</p>
        </div>

        <div className="dl notes">
          <div className="dt">Parameters:</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/DropSessionResponse" 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>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.