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

# dropDatasink

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

  <h2 className="memtitle"><span className="permalink"><a href="#ad3e43fa7e239c990fa449b0ad0e93d0e">◆ </a></span>dropDatasink() <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_1DropDatasinkResponse">DropDatasinkResponse</a> gpudb::GPUdb::dropDatasink </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1DropDatasinkRequest">DropDatasinkRequest</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>Drops an existing <a href="/content/concepts/data_sinks/" target="_top">data sink</a>. </p>
      <p>By default, if any <a href="/content/concepts/table_monitors" target="_top">table monitors</a> use this sink as a destination, the request will be blocked unless option <a className="el" href="/content/api/cpp/namespacegpudb#a006aaa5a6920d6d800c0b359acbc8186">clear\_table\_monitors</a> is <a className="el" href="/content/api/cpp/namespacegpudb#ab3796448d7c9c059f60333507efdb713">true</a>.</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_1DropDatasinkRequest">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_1DropDatasinkResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a5d3a3cafd0ff809135fcd05bb8d9db3d" />

  <h2 className="memtitle"><span className="permalink"><a href="#a5d3a3cafd0ff809135fcd05bb8d9db3d">◆ </a></span>dropDatasink() <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_1DropDatasinkResponse">DropDatasinkResponse</a> & gpudb::GPUdb::dropDatasink </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1DropDatasinkRequest">DropDatasinkRequest</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_1DropDatasinkResponse">DropDatasinkResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Drops an existing <a href="/content/concepts/data_sinks/" target="_top">data sink</a>. </p>
      <p>By default, if any <a href="/content/concepts/table_monitors" target="_top">table monitors</a> use this sink as a destination, the request will be blocked unless option <a className="el" href="/content/api/cpp/namespacegpudb#a006aaa5a6920d6d800c0b359acbc8186">clear\_table\_monitors</a> is <a className="el" href="/content/api/cpp/namespacegpudb#ab3796448d7c9c059f60333507efdb713">true</a>.</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_1DropDatasinkRequest">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_1DropDatasinkResponse">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_1DropDatasinkResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="a7b33b61ed8cc32ae56f5e5009676c72a" />

  <h2 className="memtitle"><span className="permalink"><a href="#a7b33b61ed8cc32ae56f5e5009676c72a">◆ </a></span>dropDatasink() <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_1DropDatasinkResponse">DropDatasinkResponse</a> gpudb::GPUdb::dropDatasink </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::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>Drops an existing <a href="/content/concepts/data_sinks/" target="_top">data sink</a>. </p>
      <p>By default, if any <a href="/content/concepts/table_monitors" target="_top">table monitors</a> use this sink as a destination, the request will be blocked unless option <a className="el" href="/content/api/cpp/namespacegpudb#a006aaa5a6920d6d800c0b359acbc8186">clear\_table\_monitors</a> is <a className="el" href="/content/api/cpp/namespacegpudb#ab3796448d7c9c059f60333507efdb713">true</a>.</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 data sink to be dropped. Must be an existing data sink. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a006aaa5a6920d6d800c0b359acbc8186">drop\_datasink\_clear\_table\_monitors</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#ab3796448d7c9c059f60333507efdb713">true</a>, any <a href="/content/concepts/table_monitors/" target="_top">table monitors</a> that use this data sink will be cleared. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab3796448d7c9c059f60333507efdb713">drop\_datasink\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a56149c6b2cbeee7126252eea80d1eec1">drop\_datasink\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a56149c6b2cbeee7126252eea80d1eec1">drop\_datasink\_false</a>.
                  </li>
                </ul>

                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_1DropDatasinkResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a81c7c92ff33688011d71a74610bfb4c0" />

  <h2 className="memtitle"><span className="permalink"><a href="#a81c7c92ff33688011d71a74610bfb4c0">◆ </a></span>dropDatasink() <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_1DropDatasinkResponse">DropDatasinkResponse</a> & gpudb::GPUdb::dropDatasink </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::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_1DropDatasinkResponse">DropDatasinkResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Drops an existing <a href="/content/concepts/data_sinks/" target="_top">data sink</a>. </p>
      <p>By default, if any <a href="/content/concepts/table_monitors" target="_top">table monitors</a> use this sink as a destination, the request will be blocked unless option <a className="el" href="/content/api/cpp/namespacegpudb#a006aaa5a6920d6d800c0b359acbc8186">clear\_table\_monitors</a> is <a className="el" href="/content/api/cpp/namespacegpudb#ab3796448d7c9c059f60333507efdb713">true</a>.</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 data sink to be dropped. Must be an existing data sink. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a006aaa5a6920d6d800c0b359acbc8186">drop\_datasink\_clear\_table\_monitors</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#ab3796448d7c9c059f60333507efdb713">true</a>, any <a href="/content/concepts/table_monitors/" target="_top">table monitors</a> that use this data sink will be cleared. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab3796448d7c9c059f60333507efdb713">drop\_datasink\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a56149c6b2cbeee7126252eea80d1eec1">drop\_datasink\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a56149c6b2cbeee7126252eea80d1eec1">drop\_datasink\_false</a>.
                  </li>
                </ul>

                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_1DropDatasinkResponse">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_1DropDatasinkResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
