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/delete-network-insights-path.rst
**To delete a path**

The following ``delete-network-insights-path`` example deletes the specified path. Before you can delete a path, you must delete all its analyses using the ``delete-network-insights-analysis`` command. ::

    aws ec2 delete-network-insights-path \
        --network-insights-path-id nip-0b26f224f1d131fa8

Output::

    {
        "NetworkInsightsPathId": "nip-0b26f224f1d131fa8"
    }

For more information, see `Getting started using the AWS CLI <https://docs.aws.amazon.com/vpc/latest/reachability/getting-started-cli.html>`__ in the *Reachability Analyzer Guide*.