---
title: "POST /v2/{org_id}/network-templates/"
method: POST
path: "/v2/{org_id}/network-templates/"
tags: ["Network Templates"]
---

# POST /v2/{org_id}/network-templates/

`POST /v2/{org_id}/network-templates/`

List and create network templates for an organization.

    GET: List all network templates for the organization (requires CanListSensors)
    POST: Create a new network template (requires CanRegisterSensors)

## Request body

- NetworkTemplate
  - `id` integer
  - `name` string, required — Name of the network template
  - `network_type` 'wifi' | 'ethernet', required — Type of network: wifi or ethernet
  - `ssid` string, nullable — WiFi SSID (required for WiFi networks)
  - `password` string, nullable — WiFi password (required for WiFi networks)
  - `configuration` 'manual' | 'dhcp' — Network configuration: manual or dhcp
  - `subnet_mask` string, nullable — Subnet mask (required for manual configuration)
  - `gateway` string, nullable — Gateway IP address (required for manual configuration)
  - `dns_servers` object — List of DNS server IP addresses or hostnames
  - `time_servers` object — List of time server IP addresses or hostnames
  - `proxy_servers` object — List of proxy server IP addresses or hostnames
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Response `201`

Created

- OptionalNetworkTemplateSerializer
  - `id` integer
  - `name` string — Name of the network template
  - `network_type` 'wifi' | 'ethernet' — Type of network: wifi or ethernet
  - `ssid` string, nullable — WiFi SSID (required for WiFi networks)
  - `password` string, nullable — WiFi password (required for WiFi networks)
  - `configuration` 'manual' | 'dhcp' — Network configuration: manual or dhcp
  - `subnet_mask` string, nullable — Subnet mask (required for manual configuration)
  - `gateway` string, nullable — Gateway IP address (required for manual configuration)
  - `dns_servers` object — List of DNS server IP addresses or hostnames
  - `time_servers` object — List of time server IP addresses or hostnames
  - `proxy_servers` object — List of proxy server IP addresses or hostnames
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400` — Bad Request
- `403` — Forbidden

---

[API](https://skmtc.dev/density/apis/your-project-api.md) · [All operations](https://skmtc.dev/density/apis/your-project-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/density/your-project-api/revisions/eab10fe035e6/schema)
