Deleting a Net Access Point

You can delete a Net access point that you no longer need. This action also deletes the corresponding routes in the route table associated with the Net access point.

Once the Net access point is deleted, traffic cannot be directly routed to the corresponding service using this private connection anymore.

Deleting a Net Access Point Using Cockpit v2

  1. Click inside the Net Access Points dashboard to make checkboxes appear.

  2. Check the box of the Net access point you want to delete.

    Multiselection is available.

    The Net access point is selected and an action menu appears.

  3. Click IconTerminate Delete.
    A confirmation dialog box appears.

  4. Click Delete.
    The Net access point is deleted.

    Deleted resources remain visible for 1 hour.

Deleting a Net Access Point Using OSC CLI

The DeleteNetAccessPoint command deletes a specified Net access point.
This action also deletes the corresponding routes added to the route tables you specified for the Net access point.

Request sample
$ osc-cli api DeleteNetAccessPoint --profile "default" \
    --NetAccessPointId "vpce-12345678"

This command contains the following attributes that you need to specify:

  • DryRun: (optional) If true, checks whether you have the required permissions to perform the action.

  • NetAccessPointId: The ID of the Net access point.

The DeleteNetAccessPoint command returns the following elements:

  • ResponseContext: Information about the context of the response.

Result sample
{
  "ResponseContext": {
    "RequestId": "0475ca1e-d0c5-441d-712a-da55a4175157"
  }
}

Deleting a VPC Endpoint Using AWS CLI

To delete one or more VPC endpoints, use the delete-vpc-endpoints command following this syntax:

Request sample
$ aws ec2 delete-vpc-endpoints \
    --profile YOUR_PROFILE \
    --vpc-endpoint-ids vpce-12345678 \
    --endpoint https://fcu.eu-west-2.outscale.com

This command contains the following attributes that you need to specify:

  • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

  • vpc-endpoints-ids: One or more IDs of VPC endpoints you want to delete.

  • endpoint: The endpoint corresponding to the Region you want to send the request to.

The delete-vpc-endpoints command returns the following element:

  • Unsuccessful: If the request is partially successful or is unsuccessful, a list of IDs of resources that are not deleted with the corresponding error message. If the request is successful, this list is empty.

Result sample
{
  "Unsuccessful": []
}

Related Pages

Corresponding API Methods

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.