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

# gpudb::DeleteGraphRequest

> gpudb::DeleteGraphRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a856b5855b4b4179036949947353ffa11">GPUdb::deleteGraph</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/delete__graph_8h_source">gpudb/protocol/delete\_graph.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Member Functions</h2>
        </td>
      </tr>

      <tr className="memitem:a82b8bd2c69f95c2f348a370457fbe295" id="r_a82b8bd2c69f95c2f348a370457fbe295">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a82b8bd2c69f95c2f348a370457fbe295">DeleteGraphRequest</a> ()</td>
      </tr>

      <tr className="memdesc:a82b8bd2c69f95c2f348a370457fbe295">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1DeleteGraphRequest" title="A set of parameters for GPUdb::deleteGraph.">DeleteGraphRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:a82b8bd2c69f95c2f348a370457fbe295">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a956918fc085c29103d954197e2a66e8d" id="r_a956918fc085c29103d954197e2a66e8d">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a956918fc085c29103d954197e2a66e8d">DeleteGraphRequest</a> (const std::string \&graphName\_, const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:a956918fc085c29103d954197e2a66e8d">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1DeleteGraphRequest" title="A set of parameters for GPUdb::deleteGraph.">DeleteGraphRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:a956918fc085c29103d954197e2a66e8d">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:a528403370630b8b1e0cc306a83321d5c" id="r_a528403370630b8b1e0cc306a83321d5c">
        <td className="memItemLeft" align="right" valign="top">std::string </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a528403370630b8b1e0cc306a83321d5c">graphName</a></td>
      </tr>

      <tr className="memdesc:a528403370630b8b1e0cc306a83321d5c">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Name of the graph to be deleted. <br /></td>
      </tr>

      <tr className="separator:a528403370630b8b1e0cc306a83321d5c">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:ad7560fede346cb85e0e13df9983ba201" id="r_ad7560fede346cb85e0e13df9983ba201">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#ad7560fede346cb85e0e13df9983ba201">options</a></td>
      </tr>

      <tr className="memdesc:ad7560fede346cb85e0e13df9983ba201">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:ad7560fede346cb85e0e13df9983ba201">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a856b5855b4b4179036949947353ffa11">GPUdb::deleteGraph</a>. </p>
      <p>Deletes an existing graph from the graph server and/or persist. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/delete__graph_8h_source#l00018">18</a> of file <a className="el" href="/content/api/cpp/delete__graph_8h_source">delete\_graph.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a82b8bd2c69f95c2f348a370457fbe295">◆ </a></span>DeleteGraphRequest() <span className="overload">\[1/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::DeleteGraphRequest::DeleteGraphRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </span>
                  </td>

                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1DeleteGraphRequest" title="A set of parameters for GPUdb::deleteGraph.">DeleteGraphRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/delete__graph_8h_source#l00023">23</a> of file <a className="el" href="/content/api/cpp/delete__graph_8h_source">delete\_graph.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a956918fc085c29103d954197e2a66e8d">◆ </a></span>DeleteGraphRequest() <span className="overload">\[2/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::DeleteGraphRequest::DeleteGraphRequest </td>
                  <td>(</td>
                  <td className="paramtype">const std::string &</td>
                  <td className="paramname"><span className="paramname"><span className="em">graphName\_</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>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs a <a className="el" href="/content/api/cpp/structgpudb_1_1DeleteGraphRequest" title="A set of parameters for GPUdb::deleteGraph.">DeleteGraphRequest</a> object with the specified parameters. </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">graphName\_</td>
                <td>Name of the graph to be deleted. </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#ac82e804e5c35146e4250b6c534fe2e77">delete\_graph\_delete\_persist</a>: If set to <a className="el" href="/content/api/cpp/namespacegpudb#a7fb67ac0b9037b36415175d7f9b84817">true</a>, the graph is removed from the server and persist. If set to <a className="el" href="/content/api/cpp/namespacegpudb#ab5c23bbbbf2a13cab6527928fe53d5aa">false</a>, the graph is removed from the server but is left in persist. The graph can be reloaded from persist if it is recreated with the same 'graph\_name'. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a7fb67ac0b9037b36415175d7f9b84817">delete\_graph\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab5c23bbbbf2a13cab6527928fe53d5aa">delete\_graph\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a7fb67ac0b9037b36415175d7f9b84817">delete\_graph\_true</a>.
                    </li>

                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#abbaaabc2f0131ca554e84fe928157fd1">delete\_graph\_server\_id</a>: Indicates which graph server(s) to send the request to. Default is to send to get information about all the servers. </li>
                  </ul>

                  The default value is an empty map.
                </td>
              </tr>
            </table>
          </div>
        </div>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/delete__graph_8h_source#l00064">64</a> of file <a className="el" href="/content/api/cpp/delete__graph_8h_source">delete\_graph.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#a528403370630b8b1e0cc306a83321d5c">◆ </a></span>graphName</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::string gpudb::DeleteGraphRequest::graphName</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Name of the graph to be deleted. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/delete__graph_8h_source#l00073">73</a> of file <a className="el" href="/content/api/cpp/delete__graph_8h_source">delete\_graph.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#ad7560fede346cb85e0e13df9983ba201">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::DeleteGraphRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>

        <ul>
          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#ac82e804e5c35146e4250b6c534fe2e77">delete\_graph\_delete\_persist</a>: If set to <a className="el" href="/content/api/cpp/namespacegpudb#a7fb67ac0b9037b36415175d7f9b84817">true</a>, the graph is removed from the server and persist. If set to <a className="el" href="/content/api/cpp/namespacegpudb#ab5c23bbbbf2a13cab6527928fe53d5aa">false</a>, the graph is removed from the server but is left in persist. The graph can be reloaded from persist if it is recreated with the same 'graph\_name'. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a7fb67ac0b9037b36415175d7f9b84817">delete\_graph\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#ab5c23bbbbf2a13cab6527928fe53d5aa">delete\_graph\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a7fb67ac0b9037b36415175d7f9b84817">delete\_graph\_true</a>.
          </li>

          <li> <a className="el" href="/content/api/cpp/namespacegpudb#abbaaabc2f0131ca554e84fe928157fd1">delete\_graph\_server\_id</a>: Indicates which graph server(s) to send the request to. Default is to send to get information about all the servers. </li>
        </ul>

        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/delete__graph_8h_source#l00098">98</a> of file <a className="el" href="/content/api/cpp/delete__graph_8h_source">delete\_graph.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/delete__graph_8h_source">delete\_graph.h</a></li>
    </ul>
  </div>
</div>
