Mikrotik icon

Mikrotik

Consume Mikrotik API (v.0.1.4)

remove

AI-generated

Overview

This node interacts with the Mikrotik API to perform various operations. Specifically, for the 'Default' resource and 'remove' operation, it removes an entity identified by an ID or named parameter from the Mikrotik device. This is useful for network administrators who need to programmatically manage and remove configurations or objects on Mikrotik routers, such as interfaces or firewall rules, by specifying their identifiers.

Use Case Examples

  1. Removing a network interface by its ID or name.
  2. Deleting a firewall rule using its unique identifier.

Properties

Name Meaning
Host The hostname or IP address of the Mikrotik device to connect to.
Ignore SSL Issues Whether to ignore SSL certificate validation errors when connecting to the Mikrotik API.
Id The ID or named parameter of the entity to remove from the Mikrotik device. Supports special formats like '*1' or 'ether1'.

Output

JSON

  • result - The outcome of the remove operation, typically indicating success or failure.

Dependencies

  • Requires Mikrotik API credentials for authentication.

Troubleshooting

  • Ensure the 'Host' parameter is correctly set to the Mikrotik device's address.
  • Verify that the provided 'Id' corresponds to an existing entity on the Mikrotik device.
  • If SSL issues occur, consider enabling 'Ignore SSL Issues' to bypass certificate validation errors.
  • Common errors include authentication failures due to incorrect credentials and invalid ID errors if the specified entity does not exist.

Links

Discussion