> For the complete documentation index, see [llms.txt](https://docs.i3d.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.i3d.net/connectivity/dedicated-networks-api/managing-networks.md).

# Managing networks

Read, list and delete networks here.

## Reading a network (GET)

[`GET /networks/{networkId}`](https://docs.i3d.net/api/api_dedicated_networks.md#networks)

Once active, the network carries its VLAN ID. This is the only VLAN detail the API exposes, and it is there so you can configure a server on the network.

```json
{
  "id": "01984f2e-1c3a-7d21-9d10-3542f27adccf",
  "state": "active",
  "connectivity": { "type": "public" },
  "fabric": "montreal-a",
  "name": "web tier",
  "vlanId": 3042,
  "addressing": { "source": "provider" },
  "retention": "persistent",
  "createdAt": "2026-07-27T09:00:00Z",
  "updatedAt": "2026-07-27T09:02:11Z",
  "links": {
    "self": { "href": "/networks/01984f2e-1c3a-7d21-9d10-3542f27adccf" },
    "prefixes": { "href": "/prefixes?filters[networkId][eq]=01984f2e-1c3a-7d21-9d10-3542f27adccf" },
    "ipAddresses": { "href": "/networks/01984f2e-1c3a-7d21-9d10-3542f27adccf/ip-addresses" }
  }
}
```

A private network also carries `connectivity.routing`. Networks you create have `routing.enabled: false` (isolated). Some private networks that i3D.net set up for your account are connected to each other: those report `routing.enabled: true` and a `routingDomainId`. Two of your networks with the same `routingDomainId` route traffic to each other.

A network that does not exist, belongs to another account or was deleted always reads as `404`. The API never confirms that someone else's resource exists.

## Renaming a network (PATCH)

[`PATCH /networks/{networkId}`](https://docs.i3d.net/api/api_dedicated_networks.md#networks)

The `name` is the one property of a network you can change after creation. Send a JSON Merge Patch body with the `Content-Type: application/merge-patch+json` header. The body carries the single member `name`:

* a string sets the name (trimmed, 1 to 100 characters);
* `null` clears it, so the network reads as unnamed again;
* an empty object `{}` changes nothing and returns the current network.

```json
{ "name": "db tier" }
```

The response is `200` with the full network, the new `name` and a new `ETag`; `updatedAt` moves. The change is immediate: no operation to poll. Every read from then on, including `filters[name][contains]` on the listing, shows the new name.

Any member other than `name` is refused with `422` naming it: the fabric, connectivity type and addressing of a network cannot be changed. An empty or whitespace-only name is refused with `422` too; send `null` to clear it. A network that i3D.net manages for you (`retention: ephemeral`) is read-only here and answers `409` ([`E020019`](https://docs.i3d.net/api/errors/e020019.md)).

Renaming is allowed in every state, including while the network is still provisioning. A replay of the original create request after a rename is still a replay: it returns `202` and does not change the name back.

## Listing networks (GET)

[`GET /networks`](https://docs.i3d.net/api/api_dedicated_networks.md#networks)

Lists the networks on your account. Supported filters:

* `filters[fabric][eq]=montreal-a`
* `filters[state][eq]=active` (`provisioning`, `active` or `failed`)
* `filters[name][contains]=web` (case-insensitive substring match)

Filters combine with AND. An unknown filter field, or a known field with an unsupported operator, is rejected with `400` and the response lists the supported filters.

### Pagination

Every listing is cursor-paginated. Ask for a page size with `limit` and follow the `links.next` and `links.prev` URLs in the response. A missing `next` link means you are on the last page. There are no page numbers and no total counts, and cursors are opaque: do not build or parse them yourself.

```json
{
  "items": [ "..." ],
  "links": {
    "self": { "href": "/networks?limit=2" },
    "next": { "href": "/networks?limit=2&cursor=b2Zmc2V0OjI" }
  }
}
```

All `href` values are paths that start with `/`. Build the request URL by appending them to the API base URL: `https://api.i3d.net/network/v1` + `href`. Do not use standard URL resolution against the base URL, which would drop the `/network/v1` part.

## Deleting a network (DELETE)

[`DELETE /networks/{networkId}`](https://docs.i3d.net/api/api_dedicated_networks.md#networks)

Requires write access (see [Prerequisites](https://docs.i3d.net/connectivity/dedicated-networks-api/getting-started.md#prerequisites)).

{% hint style="danger" %}
This operation cannot be undone. The network and all of its prefixes are torn down.
{% endhint %}

The delete is refused with `409` while any IP address is still in use under the network's prefixes. Decommission the servers using them first, then retry.

Otherwise the API answers `202 Accepted` with an operation reference; the prefixes are removed first, then the network. Repeating the `DELETE` is safe: it continues the teardown instead of failing. Once the teardown has completed, the network reads as `404` (for `GET` and `DELETE` alike) and no longer appears in listings. The completed operation is your confirmation.

Networks i3D.net set up on your behalf (retention `ephemeral`) cannot be deleted here. They are removed automatically together with what they were provisioned for; contact i3D.net support if you need one removed sooner.

To add address space or read the addresses in use, see [Prefixes and IP addresses](https://docs.i3d.net/connectivity/dedicated-networks-api/prefixes-and-ip-addresses.md). To follow provisioning, see [Network lifecycle and states](https://docs.i3d.net/connectivity/dedicated-networks-api/network-lifecycle-and-states.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.i3d.net/connectivity/dedicated-networks-api/managing-networks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
