v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-171,1822,9897.4 MB

Deletes a route from a Client VPN endpoint. You can only delete routes that you manually added using the <b>CreateClientVpnRoute</b> action. You cannot delete routes that were automatically added when associating a subnet. To remove routes that have been automatically added, disassociate the target subnet from the Client VPN endpoint.

get/#Action=DeleteClientVpnRoute

Query parameters

ClientVpnEndpointIdstring required

The ID of the Client VPN endpoint from which the route is to be deleted.

TargetVpcSubnetIdstring

The ID of the target subnet used by the route.

DestinationCidrBlockstring required

The IPv4 address range, in CIDR notation, of the route to be deleted.

DryRunboolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.

Action'DeleteClientVpnRoute' required
Version'2016-11-15' required

Response

Success