Ensure Wireguard Peer
Endpoint
Request
curl --location \
--request PUT 'https://vpn.de-fra.ionos.com/wireguardgateways/85c79b4b-5b40-570a-b788-58dd46ea71e2/peers/b62b3a40-adee-5b6c-b98d-be20bfcbdd91' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJraWQiO' \
--header 'Content-Type: application/json' \
--data-raw '{
"metadata": {},
"properties": {
"name": "My Company Gateway Peer",
"description": "Allows local machine A to connect to Datacenter LAN Y.",
"endpoint": {
"host": "1.2.3.4",
"port": 51820
},
"allowedIPs": [
"1.2.3.4/32"
],
"publicKey": "no8iaSEoqfbI6PVYsdEiUU5efYdtKX8VAhKity19MWI="
}
}'Path Parameters
Type
Description
Example
Response Parameters
Type
Description
Example
Header Parameters
Required
Type
Description
Response
Last updated
Was this helpful?