MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

IP Address → Remove

AI-generated

Summary

Remove an IP address entry from a MikroTik device.

Inputs

  • Target ID / Name (required) — ID (*1, *2) or name (e.g., ether1) of the IP address entry to remove. Corresponds to the node parameter targetId.
  • Options — Advanced connection and command options. All are optional and default as shown; they are applied per item in the input data list. Corresponds to the node parameter options. This is a collection with the following sub‑options: Connection Attempts (number, default 5), Connection Delay (number, default 3 seconds), Clean Keys (boolean, default false), Tag (number, default 0).

Output shape

object

For each input item the node returns a single object under the json key with the following fields: resource (string, always 'ipAddress'), operation (string, always 'remove'), count (number, number of items returned by MikroTik; for a remove operation this is typically 0), and data (any, the raw response from the MikroTik API; if Clean Keys is enabled, response keys have - and / replaced with _).

Examples

Example 1: Delete the IP address entry named 'ether1'.

Set Target ID / Name to 'ether1'. Leave Options at defaults or adjust connection attempts/delay as needed.

Example 2: Remove an IP address by its internal ID '*3'.

Set Target ID / Name to '*3'. Ensure the MikroTik API credentials are configured on the node.

Links

Discussion