# Managing IP Blocks Once you have ordered or on-boarded an IP Block, you can view and manage it from your *IP Blocks Inventory*. ## Prerequisites[​](#prerequisites "Direct link to Prerequisites") * Viewing your IP Blocks and IP Blocks Inventory requires either the `Fabric Viewer`, `Fabric Connection Manager`, `Fabric Manager`, or `Fabric Service Provider` role. * Managing IP Blocks requires either the `Fabric Connection Manager`, `Fabric Manager`, or `Fabric Service Provider` role. - Portal - API 1. Sign in to the [Customer Portal](https://portal.equinix.com) and navigate to *Internet Access*. 2. Click **IP Blocks** to go to your *IP Blocks Inventory*. ![](https://docs.equinix.com/assets/images/managing-ip-blocks-inventory-c9b5e1a893eee24366be160d9bfb6b6d.png) Authenticate - Submit your user credentials, Client ID, and Client Secret for OAuth2 authentication. Refer to [API Authentication](https://docs.equinix.com/equinix-api/api-authentication.md) for instructions on how to call OAuth API to validate and authenticate your credentials. ## IP Blocks Inventory[​](#ip-blocks-inventory "Direct link to IP Blocks Inventory") * Portal * API The table displays all of your IP Blocks including their location, version (IPv4/IPv6), Owner (Equinix/customer), prefix length, and current status. Click a column name to sort by that column. Click **Show only available IP Blocks** to filter the table. To view the IP Block details, click its UUID in the *Identifier* column. ![](https://docs.equinix.com/assets/images/managing-ip-block-details-9fd35ff03035546c09c794eb10cd2535.png) To search and list your IP Blocks from the API, send a `POST` request to the [`/fabric/v4/ipBlocks/search`](https://docs.equinix.com/api-catalog/fabricv4/ip-blocks/searchipblocks.md) endpoint. Specify your search criteria in the body of the request. ``` curl -X POST 'https://api.equinix.com/fabric/v4/ipBlocks' \ -H 'content-type: application/json' \ -H 'authorization: Bearer ' \ -d '{ "pagination": { "offset": 0, "limit": 20 }, "filter": { "and": [ { "property": "string", "operator": "=", "values": [ "string" ] } ] }, "sort": [ { "direction": "ASC", "property": "string" } ] }' ``` To get the details of an IP Block, send a `GET` request to the [`/fabric/v4/ipBlocks/{uuid}`](https://docs.equinix.com/api-catalog/fabricv4/#tag/IP-Blocks/operation/getIpBlock) endpoint, specifying the UUID of the IP Block in the path of the request. ``` curl -X GET 'https://api.equinix.com/fabric/v4/ipBlocks/{uuid}' \ -H 'authorization: Bearer ' ``` ## Using an IP Block[​](#using-an-ip-block "Direct link to Using an IP Block") To use an IP Block, refer to the documentation of the service you are using it for. Using IP Blocks is supported by: * Internet Access - See [IP Address Allocation](https://docs.equinix.com/internet-access/routing/eia-ip-allocation.md), [Ordering Internet Access](https://docs.equinix.com/internet-access/order-internet-access.md), and [Change IP Blocks](https://docs.equinix.com/internet-access/managing/eia-managing-ip-blocks.md). If an IP Block is in use, the service using it is listed in the *Used by* column. If an IP Block is not in use, it says, "Not in use". ## Deleting an IP Block[​](#deleting-an-ip-block "Direct link to Deleting an IP Block") You can not delete an IP Block that is in use by a service. Remove the IP Block from use before deleting. If you are attempting to delete an IP Block from a recently deprovisioned service, wait a few minutes for the IP Block to be released. To delete an IP Block: * Portal * API 1. In your *IP Blocks Inventory* table, locate the IP Block you want to delete. 2. In the *Actions* column, click **Delete**. ![](https://docs.equinix.com/assets/images/managing-delete-4f66e42ba98298dca6aa2be1100e4969.png) You can also delete an IP Block from its details pane. ![](https://docs.equinix.com/assets/images/managing-delete-from-details-ac499627568f4a2cf1f6030316885d6e.png) To get the details of an IP Block, send a `DELETE` request to the [`/fabric/v4/ipBlocks/{uuid}`](https://docs.equinix.com/api-catalog/fabricv4/#tag/IP-Blocks/operation/getIpBlock) endpoint, specifying the UUID of the IP Block in the path of the request. ``` curl -X DELETE 'https://api.equinix.com/fabric/v4/ipBlocks/{uuid}' \ -H 'authorization: Bearer ' ``` Once deleted, the IP Block remains in your inventory with status `Deleted`.