API How-Tos

API Privileges

Action

Description

Learn how to set user privileges for VPN Gateway via the API.

WireGuard Gateways

Action

Description

Endpoint to retrieve all WireGuard VPN Gateways using pagination and optional filters.

Creates a new WireGuard VPN Gateway. The full configuration needs to be provided.

Retrieves details of a specific WireGuard VPN Gateway.

Ensures that a WireGuard VPN Gateway with the provided ID is created or modified.

Deletes the specified WireGuard Gateway.

WireGuard Peers

Action

Description

Endpoint to retrieve all WireGuard Peers associated with a VPN Gateway using pagination and optional filters.

Creates a new WireGuard Peer. The full configuration needs to be provided.

Retrieves details of a specific WireGuard Peer.

Ensures that a WireGuard Peer with the provided ID is created or modified.

Deletes the specified WireGuard Peer.

IPSec Gateways

Action

Description

Endpoint to retrieve all IPSec VPN Gateways using pagination and optional filters.

Creates a new IPSec VPN Gateway. The full configuration needs to be provided.

Retrieves details of a specific IPSec VPN Gateway.

Ensures that an IPSec VPN Gateway with the provided ID is created or modified.

Deletes the specified IPSec Gateway.

IPSec Tunnels

Action

Description

Endpoint to retrieve all IPSec VPN Tunnels associated with an IPSec VPN Gateway using pagination and optional filters.

Creates a new IPSec VPN Tunnel associated with an IPSec VPN Gateway. The full configuration needs to be provided.

Retrieves details of a specific IPSec VPN Tunnel.

Ensures that an IPSec VPN Tunnel with the provided ID is created or modified.

Deletes the specified IPSec Tunnel.

Endpoint

A regional endpoint is necessary to interact with the VPN Gateway REST API endpoints. For more information, see the API specification file.

Note: To prevent any failed requests, make sure to use the regional endpoint that corresponds to the location of the VDC where your VPN Gateway has been established.

IONOS supports the following endpoints for various locations:

  • Berlin, Germany: https://vpn.de-txl.ionos.com/clusters

  • Frankfurt, Germany: https://vpn.de-fra.ionos.com/clusters

  • Logroño, Spain: https://vpn.es-vit.ionos.com/clusters

  • London, Great Britain: https://vpn.gb-lhr.ionos.com/clusters

  • Newark, United States: https://vpn.us-ewr.ionos.com/clusters

  • Las Vegas, United States: https://vpn.us-las.ionos.com/clusters

  • Lenexa, United States: https://vpn.us-mci.ionos.com/clusters

  • Paris, France: https://vpn.fr-par.ionos.com/clusters

Last updated