latestOpenAPI 3.1.02026-08-2211754502.4 KB

76cfbed5eb40

VPN

Create VPN server

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

post/vpn/servers/create

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