Create Wireguard Gateway
Creates a new WireGuard Gateway.
The full WireGuard Gateway needs to be provided to create the object. Optional data will be filled with defaults or left empty.
To create a WireGuard Gateway, perform a POST
request.
Endpoint
Use the following endpoint to create a WireGuard Gateway: https://vpn.de-fra.ionos.com/wireguardgateways
.
Request
Below is the list of mandatory body parameters for creating a WireGuard Gateway:
Body Parameters | Required | Type | Description | Example |
---|---|---|---|---|
| no | object | Metadata |
|
| yes | object | Properties with all data needed to create a new WireGuard Gateway. | |
| yes | string | The human readable name of your WireGuard Gateway. |
|
| no | string | Human readable description of the WireGuard Gateway. |
|
| yes | string | Public IP address to be assigned to the gateway. |
|
| no | string | The IPV4 address (with CIDR mask) to be assigned to the WireGuard interface. |
|
| no | string | The IPV6 address (with CIDR mask) to be assigned to the WireGuard interface. |
|
| yes | array | The network connection for your gateway. |
|
| yes | string | PrivateKey used for WireGuard Server. |
|
| no | integer | Port that WireGuard Server will listen on. | 51820 |
Response
201 Successful operation
Result: The WireGuard Gateway is successfully created. the id
and other details of the created WireGuard Gateway are provided in the response.
Last updated