update_dhcp_static_mapping
Update an existing DHCP static mapping by ID, changing only the provided fields such as IP, MAC, hostname, or lease times while retaining others. Apply changes immediately or defer.
Instructions
Update an existing DHCP static mapping by ID
Only the parameters you pass are sent, so unset ones keep their stored values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | No | New hostname | |
| interface | No | New interface/DHCP pool | |
| ip_address | No | New IP address | |
| mapping_id | Yes | Static mapping ID | |
| description | No | New description | |
| mac_address | No | New MAC address | |
| max_lease_time | No | New per-host maximum lease time in seconds | |
| apply_immediately | No | Whether to apply changes immediately | |
| default_lease_time | No | New per-host default lease time in seconds |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||