MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

ARP → Remove

AI-generated

Summary

Removes an ARP entry from the MikroTik router by its ID or name.

Inputs

  • resource (required) — Must be set to 'arp' for this operation.
  • operation (required) — Must be set to 'Remove' for this operation.
  • targetId (required) — The ID (e.g., *1, *2) or name (e.g., ether1) of the ARP entry to remove.
  • options — Additional options for the API call. All sub‑options are optional and default as shown.

Output shape

array of objects

Each object contains resource, operation, count, and data fields. For a remove operation the data field is typically an empty array. If cleanKeys is enabled, any returned keys have - and / replaced with _.

Examples

Example 1: Remove an ARP entry by its internal ID *3

Set resource to ARP, operation to Remove, targetId to '*3', and leave options at defaults.

Example 2: Remove an ARP entry by interface name with custom retry settings

Set resource to ARP, operation to Remove, targetId to 'ether1', options.connectionAttempts to 3, options.connectionDelay to 2.

Links

Discussion