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

# PUT /v2/{org_id}/network-templates/{id}/

`PUT /v2/{org_id}/network-templates/{id}/`

Retrieve, update, or delete a specific network template.

    GET: Retrieve a network template by ID (requires CanListSensors)
    PUT: Update a network template by ID (requires CanRegisterSensors)
    DELETE: Delete a network template by ID (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 `200`

Updated

- 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)
