MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

IP Pool → Remove

AI-generated

Summary

Remove an IP Pool from RouterOS by ID or name.

Inputs

  • targetId (required) — ID or Name of the IP Pool (e.g. myPool, *2). Default is empty string; must be provided for the operation to succeed.
  • options — Optional configuration for connection retries, delay, key cleaning, and tagging.

Output shape

{ resource: string, operation: string, count: number, data: any }

Each execution returns an array containing one item with resource, operation, count of returned items, and the raw data from the RouterOS API. If options.cleanKeys is true, '-' and '/' in response keys are replaced with '_'.

Examples

Example 1: Remove pool by name

targetId: 'myPool', options: {}

Links

Discussion