MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

Queue Simple → Remove

AI-generated

Summary

Remove a simple queue entry by ID or name from a MikroTik RouterOS device.

Inputs

  • targetId (required) — ID (*1, *2) or Name (e.g. ether1, user1) of the queue to remove
  • connectionAttempts — Number of times to try connecting to RouterOS (default: 5)
  • connectionDelay — Delay in seconds between connection attempts (default: 3)
  • cleanKeys — Replace - and / with _ in response keys (default: false)
  • tag — Custom tag to associate with the command (default: 0, adds .tag=N to params if >0)

Output shape

object

Each result item contains resource, operation, count, and data from the RouterOS response. Connection retries use the provided attempt/delay settings.

Examples

Example 1: Remove a queue named 'default' with default retry settings.

Set targetId to 'default', leave other options at defaults.

Links

Discussion