Create a WireGuard Peer
POST/wireguard_peers
Create a new WireGuard Peer. Current limitation of 5 peers per interface can be created.
Request
Path Parameters
id uuidrequired
Identifies the resource.
- application/json
Body
required
public_key string
The WireGuard PublicKey
.
If you do not provide a Public Key, a new Public and Private key pair will be generated for you.
wireguard_interface_id uuidrequired
The id of the wireguard interface associated with the peer.
Responses
202: Successful response
- application/json
422: Unprocessable entity. Check the 'detail' field in response for details.
- application/json
default: Unexpected error
- application/json
Loading...