VPN

Update VPN server

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

post/vpn/servers/update

Request body

idinteger required
country_idinteger required
server_namestring required
ip_addressstring ipv4 required
ssh_portinteger required
ssh_usernamestring required
ssh_password_currentstring password required
max_connectioninteger required
vpn_typeinteger
ssh_password_newstring
vpn_portstring

default, random, or custom

vpn_custom_portstring
vpn_protocolstring

udp or tcp

Response

OK

successboolean

Changes

Changed in 1 of the 6 revisions of this API.9

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • added the optional property code to the response with the 401 status

      response-optional-property-added

    • added the optional property code to the response with the 403 status

      response-optional-property-added

    • added the optional property code to the response with the 422 status

      response-optional-property-added

    • added the optional property request_id to the response with the 401 status

      response-optional-property-added

    • added the optional property request_id to the response with the 403 status

      response-optional-property-added

    • added the optional property request_id to the response with the 422 status

      response-optional-property-added