---
title: "POST /network.create"
method: POST
path: "/network.create"
tags: ["network"]
---

# POST /network.create

`POST /network.create`

## Request body

- object
  - `name` string, required
  - `driver` 'bridge' | 'overlay'
  - `internal` boolean
  - `attachable` boolean
  - `enableIPv4` boolean
  - `enableIPv6` boolean
  - `mtu` integer, nullable
  - `ipam` object, nullable
    - `driver` string
    - `config` object[]
      - `subnet` string
      - `gateway` string
      - `ipRange` string
  - `serverId` string, nullable

## Response `200`

Successful response

- object

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `500` — Internal server error

---

[API](https://skmtc.net/dokploy/apis/dokploy-api.md) · [All operations](https://skmtc.net/dokploy/apis/dokploy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dokploy/dokploy-api/revisions/0c21b2084cd6/schema)
