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

# adminRemoveHost

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

  <h2 className="memtitle"><span className="permalink"><a href="#a93e3050c57e8c8509cc2d393dd513049">◆ </a></span>adminRemoveHost() <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_1AdminRemoveHostResponse">AdminRemoveHostResponse</a> kinetica.Kinetica.adminRemoveHost </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1AdminRemoveHostRequest">AdminRemoveHostRequest</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>Removes a host from an existing cluster. </p>
      <p>If the host to be removed has any ranks running on it, the ranks must be removed using <a className="el" href="#a57a58b6bbe780ba3e1085f8c9639bdd1">adminRemoveRanks</a> or manually switched over to a new host using <a className="el" href="#ad6bf151abf662b20713a239122586b29">adminSwitchover</a> prior to host removal. If the host to be removed has the graph server or SQL planner running on it, these must be manually switched over to a new host using <a className="el" href="#ad6bf151abf662b20713a239122586b29">adminSwitchover</a>.</p>
      <p>This method should be used for on-premise deployments only. </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#L1783">1783</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="abfabd4313b0d77adf1428cefc7dd3736" />

  <h2 className="memtitle"><span className="permalink"><a href="#abfabd4313b0d77adf1428cefc7dd3736">◆ </a></span>adminRemoveHost() <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_1AdminRemoveHostResponse">AdminRemoveHostResponse</a> kinetica.Kinetica.adminRemoveHost </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">host</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>Removes a host from an existing cluster. </p>
      <p>If the host to be removed has any ranks running on it, the ranks must be removed using <a className="el" href="#a57a58b6bbe780ba3e1085f8c9639bdd1">adminRemoveRanks</a> or manually switched over to a new host using <a className="el" href="#ad6bf151abf662b20713a239122586b29">adminSwitchover</a> prior to host removal. If the host to be removed has the graph server or SQL planner running on it, these must be manually switched over to a new host using <a className="el" href="#ad6bf151abf662b20713a239122586b29">adminSwitchover</a>.</p>
      <p>This method should be used for on-premise deployments only. </p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">host</td>
              <td>Identifies the host this applies to. Can be the host address, or formatted as 'hostN' where N is the host number as specified in gpudb.conf.</td>
            </tr>

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

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1AdminRemoveHostRequest_1_1Options#a16246d05a3d49630c308530716bd7f8c">DRY\_RUN</a>: If set to <a className="el" href="/content/api/cs/structkinetica_1_1AdminRemoveHostRequest_1_1Options#a4369b758a54ece0a67b3c72c74be582b">TRUE</a>, only validation checks will be performed. No host is removed. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AdminRemoveHostRequest_1_1Options#a4369b758a54ece0a67b3c72c74be582b">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AdminRemoveHostRequest_1_1Options#a6a3961d0c98280d1635b45409414a5a5">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1AdminRemoveHostRequest_1_1Options#a6a3961d0c98280d1635b45409414a5a5">FALSE</a>.
                  </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#L1863">1863</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="a04e9a7df5a193c931898adab112b389a" />

  <h2 className="memtitle"><span className="permalink"><a href="#a04e9a7df5a193c931898adab112b389a">◆ </a></span>AdminRemoveHostAsync() <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_1AdminRemoveHostResponse">AdminRemoveHostResponse</a> > kinetica.Kinetica.AdminRemoveHostAsync </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1AdminRemoveHostRequest">AdminRemoveHostRequest</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>Removes a host from an existing cluster. </p>
      <p>(async) </p>
      <p>If the host to be removed has any ranks running on it, the ranks must be removed using <a className="el" href="#a57a58b6bbe780ba3e1085f8c9639bdd1">adminRemoveRanks</a> or manually switched over to a new host using <a className="el" href="#ad6bf151abf662b20713a239122586b29">adminSwitchover</a> prior to host removal. If the host to be removed has the graph server or SQL planner running on it, these must be manually switched over to a new host using <a className="el" href="#ad6bf151abf662b20713a239122586b29">adminSwitchover</a>.</p>
      <p>This method should be used for on-premise deployments only. </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#L1809">1809</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="a8cd1abc0ac181fa1d3eda0d1f189b03e" />

  <h2 className="memtitle"><span className="permalink"><a href="#a8cd1abc0ac181fa1d3eda0d1f189b03e">◆ </a></span>AdminRemoveHostAsync() <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_1AdminRemoveHostResponse">AdminRemoveHostResponse</a> > kinetica.Kinetica.AdminRemoveHostAsync </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">host</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>Removes a host from an existing cluster. </p>
      <p>(async) </p>
      <p>If the host to be removed has any ranks running on it, the ranks must be removed using <a className="el" href="#a57a58b6bbe780ba3e1085f8c9639bdd1">adminRemoveRanks</a> or manually switched over to a new host using <a className="el" href="#ad6bf151abf662b20713a239122586b29">adminSwitchover</a> prior to host removal. If the host to be removed has the graph server or SQL planner running on it, these must be manually switched over to a new host using <a className="el" href="#ad6bf151abf662b20713a239122586b29">adminSwitchover</a>.</p>
      <p>This method should be used for on-premise deployments only. </p>

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

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">host</td>
              <td>Identifies the host this applies to. Can be the host address, or formatted as 'hostN' where N is the host number as specified in gpudb.conf.</td>
            </tr>

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

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1AdminRemoveHostRequest_1_1Options#a16246d05a3d49630c308530716bd7f8c">DRY\_RUN</a>: If set to <a className="el" href="/content/api/cs/structkinetica_1_1AdminRemoveHostRequest_1_1Options#a4369b758a54ece0a67b3c72c74be582b">TRUE</a>, only validation checks will be performed. No host is removed. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AdminRemoveHostRequest_1_1Options#a4369b758a54ece0a67b3c72c74be582b">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1AdminRemoveHostRequest_1_1Options#a6a3961d0c98280d1635b45409414a5a5">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1AdminRemoveHostRequest_1_1Options#a6a3961d0c98280d1635b45409414a5a5">FALSE</a>.
                  </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#L1917">1917</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>
