HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/ec2/terminate-client-vpn-connections.rst
**To terminate a connection to a Client VPN endpoint**

The following ``terminate-client-vpn-connections`` example terminates the specified connection to the Client VPN endpoint. ::

    aws ec2 terminate-client-vpn-connections \
        --client-vpn-endpoint-id vpn-endpoint-123456789123abcde \
        --connection-id cvpn-connection-04edd76f5201e0cb8

Output::

    {
        "ClientVpnEndpointId": "vpn-endpoint-123456789123abcde",
        "ConnectionStatuses": [
            {
                "ConnectionId": "cvpn-connection-04edd76f5201e0cb8",
                "PreviousStatus": {
                    "Code": "active"
                },
                "CurrentStatus": {
                    "Code": "terminating"
                }
            }
        ]
    }

For more information, see `Client Connections <https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/cvpn-working-connections.html>`__ in the *AWS Client VPN Administrator Guide*.