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

# dropEnvironment

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

  <h2 className="memtitle"><span className="permalink"><a href="#a14b76ff4dd5ab041e2ccbda35bf3b023">◆ </a></span>dropEnvironment() <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_1DropEnvironmentResponse">DropEnvironmentResponse</a> gpudb::GPUdb::dropEnvironment </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1DropEnvironmentRequest">DropEnvironmentRequest</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>Drop an existing <a href="/content/concepts/udf/" target="_top">user-defined function</a> (UDF) environment. </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_1DropEnvironmentRequest">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_1DropEnvironmentResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a0f80c4f0b898b5927f320959936a4c8a" />

  <h2 className="memtitle"><span className="permalink"><a href="#a0f80c4f0b898b5927f320959936a4c8a">◆ </a></span>dropEnvironment() <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_1DropEnvironmentResponse">DropEnvironmentResponse</a> & gpudb::GPUdb::dropEnvironment </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1DropEnvironmentRequest">DropEnvironmentRequest</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_1DropEnvironmentResponse">DropEnvironmentResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Drop an existing <a href="/content/concepts/udf/" target="_top">user-defined function</a> (UDF) environment. </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_1DropEnvironmentRequest">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_1DropEnvironmentResponse">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_1DropEnvironmentResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="a4f26b8f86f7ff4ca39a09c24fe641aa2" />

  <h2 className="memtitle"><span className="permalink"><a href="#a4f26b8f86f7ff4ca39a09c24fe641aa2">◆ </a></span>dropEnvironment() <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_1DropEnvironmentResponse">DropEnvironmentResponse</a> gpudb::GPUdb::dropEnvironment </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">environmentName</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>Drop an existing <a href="/content/concepts/udf/" target="_top">user-defined function</a> (UDF) environment. </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">environmentName</td>
              <td>Name of the environment to be dropped. Must be an existing environment. </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#a2521b71b6a75d3eaeb15cfce2000e5ce">drop\_environment\_no\_error\_if\_not\_exists</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#affd49e2b4c60317582d7e59170529bc7">true</a> and if the environment specified in <span className="em arg">environmentName</span> does not exist, no error is returned. If <a className="el" href="/content/api/cpp/namespacegpudb#a9fd7868a0d53f7b0bab5bd0ee09f1cfe">false</a> and if the environment specified in <span className="em arg">environmentName</span> does not exist, then an error is returned. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#affd49e2b4c60317582d7e59170529bc7">drop\_environment\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a9fd7868a0d53f7b0bab5bd0ee09f1cfe">drop\_environment\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a9fd7868a0d53f7b0bab5bd0ee09f1cfe">drop\_environment\_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_1DropEnvironmentResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="ae8f2547ef7a85f8c361af0c5356a487a" />

  <h2 className="memtitle"><span className="permalink"><a href="#ae8f2547ef7a85f8c361af0c5356a487a">◆ </a></span>dropEnvironment() <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_1DropEnvironmentResponse">DropEnvironmentResponse</a> & gpudb::GPUdb::dropEnvironment </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">environmentName</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_1DropEnvironmentResponse">DropEnvironmentResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Drop an existing <a href="/content/concepts/udf/" target="_top">user-defined function</a> (UDF) environment. </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">environmentName</td>
              <td>Name of the environment to be dropped. Must be an existing environment. </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#a2521b71b6a75d3eaeb15cfce2000e5ce">drop\_environment\_no\_error\_if\_not\_exists</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#affd49e2b4c60317582d7e59170529bc7">true</a> and if the environment specified in <span className="em arg">environmentName</span> does not exist, no error is returned. If <a className="el" href="/content/api/cpp/namespacegpudb#a9fd7868a0d53f7b0bab5bd0ee09f1cfe">false</a> and if the environment specified in <span className="em arg">environmentName</span> does not exist, then an error is returned. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#affd49e2b4c60317582d7e59170529bc7">drop\_environment\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a9fd7868a0d53f7b0bab5bd0ee09f1cfe">drop\_environment\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a9fd7868a0d53f7b0bab5bd0ee09f1cfe">drop\_environment\_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_1DropEnvironmentResponse">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_1DropEnvironmentResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
