MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

IP Service → Disable

AI-generated

Summary

Disables the specified IP service on the MikroTik router.

Inputs

  • targetId (required) — ID or Name of the IP service (e.g., ftp, ssh, api-ssl)
  • options — Optional configuration for connection retry, delay, key cleaning, and result tagging.

Output shape

Returns a JSON object with fields: resource, operation, count, and data (the RouterOS API response).

If cleanKeys is enabled, hyphens and slashes in response keys are replaced with underscores.

Examples

Example 1: Disable the FTP IP service by name.

targetId: 'ftp'; options: { connectionAttempts: 3, connectionDelay: 2, cleanKeys: true, tag: 1 }

Links

Discussion