Actions14
- PPPoE Actions
- Hotspot Actions
- Queue/Bandwidth Actions
- Interface Actions
- Router Actions
Interface → Restart Interface
AI-generatedSummary
Restart a specified network interface on a MikroTik router via the middleware API.
Inputs
- Router Name (required) — Router name as configured in middleware
- Interface Name (required) — Network interface name to restart
- Timeout — Request timeout in seconds, defaulting to 30
Output shape
A single JSON object reporting success status, a message indicating the interface was restarted, and any returned data from the API.
The operation returns an object with keys 'success', 'message', and 'data' containing API response details. Errors result in exceptions or error objects if 'Continue On Fail' is enabled.
Examples
Example 1: Restart the WAN interface on the main-router with a 30 second timeout.
Set 'Router Name' to 'main-router', 'Interface Name' to 'ether1-WAN', and optionally set 'Timeout' to 30.