> ## Documentation Index
> Fetch the complete documentation index at: https://docs.megaport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Terminating an IP Address Block

> This help topic describes how to terminate an IP Address block directly from the Megaport Portal.

export const Image = ({src, alt = '', caption, width, height, shadow}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Image -';
  if (typeof src !== 'string') {
    src = String(src);
  }
  if (!src || src === 'undefined') {
    console.error(`${errorPrefix} \`src\` is required — rendering an empty string instead`);
    return <></>;
  }
  const img = <img className={['mega-image-style', shadow ? 'shadow' : ''].join(' ')} src={src} alt={alt} width={width} height={height} style={{
    display: 'block'
  }} />;
  return caption ? <figure>
      {img}
      <figcaption style={{
    textAlign: 'center',
    width
  }}>{caption}</figcaption>
    </figure> : img;
};

export const Link = ({href, children}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Link -';
  if (typeof href !== 'string') {
    href = String(href);
  }
  if (!href || href === 'undefined') {
    console.error(`${errorPrefix} the \`href\` property is required — rendering an empty string instead`);
    return <></>;
  }
  if (href.includes('{') || href.toUpperCase().includes('%7B')) {
    console.error(`${errorPrefix} could not resolve a variable in href "${href}" — rendering an empty string instead`);
    return <></>;
  }
  const isExternal = (/^https?:\/\//).test(href);
  return <a href={href} className="link" target={isExternal ? '_blank' : undefined} rel={isExternal ? 'noreferrer' : undefined}>
      {children ?? href}
      {isExternal && <span className="sr-only"> (opens in a new tab)</span>}
    </a>;
};

You can terminate an IP Address block directly from the Megaport Portal.

If the block is linked to any Megaport Internet connections, those connections are unlinked automatically before the block is deleted. The addresses return to the available pool, so you might not be able to order the same range again.

Terminating an IP Address block on a contract term will result in an early termination fee (ETF) equivalent to 100% of the remainder of the term. You can waive the ETF yourself by ordering an eligible replacement service. For more information, see [IP Address Pricing and Contract Terms](/finance/ip-address-pricing) and [Managing Early Termination Fees](/finance/etf-management).

**To terminate an IP Address block**

1. In the <Link href="https://portal.megaport.com">Megaport Portal</Link>, go to the **Services** page.

2. Click the **Actions** menu next to the IP Address block you want to terminate, then click **Delete**.

   <Image src="/images/ip-address/services-actions-delete-menu.png" alt="Actions menu for an IP Address block, showing the Delete option" shadow={true} width={200} />

   The Terminate Services window appears. Early termination fees will be shown here, if applicable.

   <Image src="/images/ip-address/terminate-services-ip-address.png" alt="Terminate Services window for an IP Address block, showing the early termination fee and Cancellation Reason field" shadow={true} width={700} />

3. In the **Cancellation Reason** drop-down list, select the reason that you are terminating the block. We use this information to help us improve your customer experience.

   These options are available:

   * Moving to a Cloud-Native Solution
   * Changing Data Centers
   * Ordered in Error or Reordering
   * Proof of Concept / Test
   * Project Ended
   * Switching to Alternative Provider
   * Pricing
   * Product Performance
   * Reason not Listed

   <Note>
     - **Ordered in Error or Reordering** should be selected if you have upgraded or downgraded the service speed and re-ordered.
     - **Reason not Listed** should be selected to specify a different reason to those listed. Use the free text field to explain the reason for terminating the service. This field has a maximum of 400 characters.
     - You can also provide additional details in the free text field for any of the cancellation reasons.
   </Note>

4. Click **Yes, Terminate Service** to confirm the termination, or click **No, Keep Services** to cancel.

   The IP Address block is deleted from the Megaport network.
