Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 672 Bytes

File metadata and controls

31 lines (19 loc) · 672 Bytes

Virtual Routers Upstream

Configure VPN

.. http:post:: /upstream/{uuid}/action/?do=configure_vpn

    Configures the VPN service for a Virtual Router Upstream. The `vpn_type`
    allowed values are: pptp and ikev2.

    :statuscode 200: no error


    **Example request**:

    .. literalinclude:: dumps/vrouters/request_upstream_configure_vpn
        :language: http

    **Example response**:

    .. literalinclude:: dumps/vrouters/response_upstream_configure_vpn
        :language: javascript

Schema

.. literalinclude:: dumps/vrouters/response_upstream_schema
    :language: javascript