remove_wireguard_peer
Deletes a WireGuard peer from a MikroTik router by its peer ID, removing unused or unauthorized VPN connections and simplifying network access management.
Instructions
Removes a WireGuard peer from the MikroTik device.
Notes: peer_id: "*N" or "N" from list output e.g. "*2"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| peer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |