Remove WireGuard peer
wg_peer_removeRemoves a peer from a WireGuard interface. Use the confirm flag to apply changes; otherwise runs as a dry-run.
Instructions
Remove a peer from a WireGuard interface (wg set ... remove). Mutating: requires --enable-write, and runs as a dry-run unless confirm:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iface | Yes | WireGuard interface, e.g. wg0 | |
| confirm | No | set true to actually apply (otherwise dry-run) | |
| public_key | Yes | peer public key to remove |