Django will happily PATCH in an empty request and vaporize a database object.
Request body
Name of the network template
Type of network: wifi or ethernet
WiFi SSID (required for WiFi networks)
WiFi password (required for WiFi networks)
Network configuration: manual or dhcp
Subnet mask (required for manual configuration)
Gateway IP address (required for manual configuration)
List of DNS server IP addresses or hostnames
List of time server IP addresses or hostnames
List of proxy server IP addresses or hostnames
Response
Updated
Name of the network template
Type of network: wifi or ethernet
WiFi SSID (required for WiFi networks)
WiFi password (required for WiFi networks)
Network configuration: manual or dhcp
Subnet mask (required for manual configuration)
Gateway IP address (required for manual configuration)
List of DNS server IP addresses or hostnames
List of time server IP addresses or hostnames
List of proxy server IP addresses or hostnames