MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

Interface → Remove

AI-generated

Summary

Remove an interface by ID or name

Inputs

  • targetId (required) — ID (*1, *2) or Name (ether1, user1)
  • connectionAttempts — Number of times to try connecting, default 5
  • connectionDelay — Delay between attempts in seconds, default 3
  • cleanKeys — Replace - and / with _ in response keys, default false
  • tag — Custom tag for the command, default 0

Output shape

/interface/remove executed with .id parameter set to targetId

Returns resource, operation, count, and data; cleanKeys replaces delimiters in keys per its boolean setting

Links

Discussion