Actions67
- Interface Actions
- Firewall Address List Actions
- IP Pool Actions
- ARP Actions
- DHCP Server Actions
- IP Address Actions
- Hotspot Actions
- Queue Simple Actions
- Wireless Actions
- System Actions
- System Clock Actions
- System Identity Actions
- System Script Actions
- System Scheduler Actions
- IP Service Actions
- Netwatch Actions
- Log Actions
- Custom Command Actions
DHCP Server → Disable
AI-generatedSummary
Disables a DHCP server on the MikroTik device using its ID or name.
Inputs
- targetId (required) — ID or Name of the DHCP server to disable (e.g., *1, *2, or ether1, user1).
- connectionAttempts — Number of times to try connecting to the device. Default: 5.
- connectionDelay — Delay between connection attempts in seconds. Default: 3.
- cleanKeys — Replace - and / with _ in response keys. Default: false.
- tag — Custom tag for the command. Default: 0.
Output shape
{ resource, operation, count, data } from the API response, with keys optionally cleaned per the cleanKeys setting.
The operation sends /ip/dhcp-server/disable .id={targetId} to the MikroTik RouterOS API.