# Docker Hub Network API

**Canonical:** https://apis.io/apis/docker-hub/docker-hub-network-api/  
**Provider:** Docker Hub — https://apis.io/providers/docker-hub/  
**Base URL:** https://hub.docker.com/v2  
**Documentation:** https://docs.docker.com/docker-hub/api/latest/

Docker Hub Network API is one of 26 APIs that [Docker Hub](https://apis.io/providers/docker-hub/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Networks. The published artifact set on APIs.io includes an OpenAPI specification.

Networks are user-defined networks that containers can be attached to. See the networking documentation for more information.

## Operations (7)

| Method | Path | Summary |
|---|---|---|
| GET | `/networks` | List networks |
| GET | `/networks/{id}` | Inspect a network |
| DELETE | `/networks/{id}` | Remove a network |
| POST | `/networks/create` | Create a network |
| POST | `/networks/{id}/connect` | Connect a container to a network |
| POST | `/networks/{id}/disconnect` | Disconnect a container from a network |
| POST | `/networks/prune` | Delete unused networks |

## Machine-readable artifacts (1)

- **OpenAPI** — https://artifacts.apis.io/docker-hub/openapi/docker-hub-network-api-openapi.yml

## Other Docker Hub APIs (12)

- [Docker Hub Access Tokens API](https://apis.io/apis/docker-hub/docker-hub-access-tokens-api/)
- [Docker Hub Audit Logs API](https://apis.io/apis/docker-hub/docker-hub-audit-logs-api/)
- [Docker Hub Authentication API](https://apis.io/apis/docker-hub/docker-hub-authentication-api-api/)
- [Docker Hub Groups API](https://apis.io/apis/docker-hub/docker-hub-groups-api/)
- [Docker Hub Invites API](https://apis.io/apis/docker-hub/docker-hub-invites-api/)
- [Docker Hub Org Access Tokens API](https://apis.io/apis/docker-hub/docker-hub-org-access-tokens-api/)
- [Docker Hub Org Settings API](https://apis.io/apis/docker-hub/docker-hub-org-settings-api/)
- [Docker Hub Orgs API](https://apis.io/apis/docker-hub/docker-hub-orgs-api/)
- [Docker Hub Repositories API](https://apis.io/apis/docker-hub/docker-hub-repositories-api/)
- [Docker Hub SCIM API](https://apis.io/apis/docker-hub/docker-hub-scim-api/)
- [Docker Hub Config API](https://apis.io/apis/docker-hub/docker-hub-config-api/)
- [Docker Hub Container API](https://apis.io/apis/docker-hub/docker-hub-container-api/)

## Tags

Networks

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/docker-hub/docker-hub-network-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/docker-hub/.
