Manage IP Service
manage_ip_serviceEnable or disable RouterOS IP services (SSH, Winbox, HTTP, etc.) to control network access without changing ports.
Instructions
Enable or disable a RouterOS IP service (api, api-ssl, ssh, telnet, www, www-ssl, winbox, ftp). Port number changes are intentionally not supported to prevent accidental lockout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | No | Router ID; omit to use the default router. | |
| action | Yes | Action to perform — only enable/disable to prevent accidental lockout from changing ports | |
| name | Yes | Service name to manage (api, api-ssl, ssh, telnet, www, www-ssl, winbox, ftp) | |
| dryRun | No | Preview changes without applying. | |
| confirmationToken | No | Token from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action. |