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

# deleteGraph

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

  <h2 className="memtitle"><span className="permalink"><a href="#afc161b03e960897e6f080aa416b2ee2f">◆ </a></span>deleteGraph() <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"><a className="el" href="/content/api/cs/classkinetica_1_1DeleteGraphResponse">DeleteGraphResponse</a> kinetica.Kinetica.deleteGraph </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1DeleteGraphRequest">DeleteGraphRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></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>Deletes an existing graph from the graph server and/or persist. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request 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">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L31805">31805</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a065f3ce19abbfd9805deb9e0d47dcfa9" />

  <h2 className="memtitle"><span className="permalink"><a href="#a065f3ce19abbfd9805deb9e0d47dcfa9">◆ </a></span>deleteGraph() <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"><a className="el" href="/content/api/cs/classkinetica_1_1DeleteGraphResponse">DeleteGraphResponse</a> kinetica.Kinetica.deleteGraph </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">graph\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</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>Deletes an existing graph from the graph server and/or persist. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">graph\_name</td>
              <td>Name of the graph to be deleted.</td>
            </tr>

            <tr>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1DeleteGraphRequest_1_1Options#a1b61dea4d2f28557e22d0369fb676e7d">DELETE\_PERSIST</a>: If set to <a className="el" href="/content/api/cs/structkinetica_1_1DeleteGraphRequest_1_1Options#adbece315bd4c01413b34dba9d0c9b754">TRUE</a>, the graph is removed from the server and persist. If set to <a className="el" href="/content/api/cs/structkinetica_1_1DeleteGraphRequest_1_1Options#a5dba3eed9f1d54cee0f20ea655f48778">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/cs/structkinetica_1_1DeleteGraphRequest_1_1Options#adbece315bd4c01413b34dba9d0c9b754">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1DeleteGraphRequest_1_1Options#a5dba3eed9f1d54cee0f20ea655f48778">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1DeleteGraphRequest_1_1Options#adbece315bd4c01413b34dba9d0c9b754">TRUE</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1DeleteGraphRequest_1_1Options#a1c2f2496038c7ec27d155c75b453ef0a">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 Dictionary.
              </td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L31875">31875</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="ab15a01b23e8dab6a5daa3cccc46cecfb" />

  <h2 className="memtitle"><span className="permalink"><a href="#ab15a01b23e8dab6a5daa3cccc46cecfb">◆ </a></span>DeleteGraphAsync() <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">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1DeleteGraphResponse">DeleteGraphResponse</a> > kinetica.Kinetica.DeleteGraphAsync </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1DeleteGraphRequest">DeleteGraphRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</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>Deletes an existing graph from the graph server and/or persist. </p>
      <p>(async)</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L31821">31821</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a6ba5840c84b23bb4ecc81f85a20f7cc3" />

  <h2 className="memtitle"><span className="permalink"><a href="#a6ba5840c84b23bb4ecc81f85a20f7cc3">◆ </a></span>DeleteGraphAsync() <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">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1DeleteGraphResponse">DeleteGraphResponse</a> > kinetica.Kinetica.DeleteGraphAsync </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">graph\_name</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</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>Deletes an existing graph from the graph server and/or persist. </p>
      <p>(async)</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">graph\_name</td>
              <td>Name of the graph to be deleted.</td>
            </tr>

            <tr>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1DeleteGraphRequest_1_1Options#a1b61dea4d2f28557e22d0369fb676e7d">DELETE\_PERSIST</a>: If set to <a className="el" href="/content/api/cs/structkinetica_1_1DeleteGraphRequest_1_1Options#adbece315bd4c01413b34dba9d0c9b754">TRUE</a>, the graph is removed from the server and persist. If set to <a className="el" href="/content/api/cs/structkinetica_1_1DeleteGraphRequest_1_1Options#a5dba3eed9f1d54cee0f20ea655f48778">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/cs/structkinetica_1_1DeleteGraphRequest_1_1Options#adbece315bd4c01413b34dba9d0c9b754">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1DeleteGraphRequest_1_1Options#a5dba3eed9f1d54cee0f20ea655f48778">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1DeleteGraphRequest_1_1Options#adbece315bd4c01413b34dba9d0c9b754">TRUE</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1DeleteGraphRequest_1_1Options#a1c2f2496038c7ec27d155c75b453ef0a">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 Dictionary.
              </td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L31929">31929</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>
</div>
