VPN

Create VPN server

Changed on

Use this BillingServ API endpoint to create VPN server. Review the response for the operation result or validation errors.

post/vpn/servers/create

Request

Request body

country_idinteger required
server_namestring required
ip_addressstring ipv4 required
ssh_portinteger required
ssh_usernamestring required
ssh_passwordstring password required
max_connectioninteger required
vpn_typeinteger required

1=OpenVPN, 2=WireGuard, 3=IKEv2, 4=other

vpn_portstring

default, random, or custom

vpn_custom_portstring
vpn_protocolstring

udp or tcp

Response

Created

successboolean

Changes

    • breaking

      removed the success response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the success response with the status