update_dhcp_network
Modify an existing DHCP network on MikroTik by updating gateway, DNS servers, domain, or other fields. Pass empty values to clear them.
Instructions
Updates fields on an existing DHCP network entry on the MikroTik device.
Notes: Pass an empty list for dns_servers/wins_servers/ntp_servers/dhcp_option (or "" for domain) to clear that field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| domain | No | ||
| comment | No | ||
| gateway | No | ||
| netmask | No | ||
| network | Yes | ||
| dhcp_option | No | ||
| dns_servers | No | ||
| ntp_servers | No | ||
| wins_servers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |