remove_wireguard_peer
Remove a WireGuard peer from a MikroTik RouterOS device using its peer ID. This tool deletes the specified peer configuration, ensuring network access is revoked.
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 |