delete_dhcp_reservation
Delete a FortiGate DHCP reservation by reservation ID, IP address, or MAC address. Specify the device and optional DHCP server or VDOM to target the correct entry.
Instructions
Delete a DHCP reservation identified by reservation_id, ip or mac.
Parameters:
device_id: Identifier of the FortiGate device
dhcp_server_id: Optional DHCP server ID to narrow the search
reservation_id: Optional reservation entry ID (see list_dhcp_servers)
ip: Optional reserved IPv4 address
mac: Optional reserved MAC address
vdom: Virtual Domain name (optional)
Returns:
Deletion status (ambiguous matches are refused)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | Reserved IPv4 address | |
| mac | No | Reserved MAC address | |
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier | |
| dhcp_server_id | No | DHCP server ID | |
| reservation_id | No | Reservation entry ID |