Delete an Existing VPC Peering Connection


Groups and projects are synonymous terms. Your {GROUP-ID} is the same as your project ID. For existing groups, your group/project ID remains the same. The resource and corresponding endpoints use the term groups.

Base URL:

Deletes a VPC peering connection associated with the specified project.


If you delete the last VPC peering connection associated with a project, Atlas also removes any AWS security groups from the whitelist for the project.


DELETE /api/atlas/v1.0/groups/{GROUP-ID}/peers/{PEER-ID}

Request Path Parameters

Parameter Required/Optional Description
GROUP-ID Required. The unique identifier for the project.
PEER-ID Required.

Atlas assigned unique ID for the peering connection.


This is separate from the vpc ID.

Request Query Parameters

This endpoint may use any of the HTTP request query parameters available to all Atlas API resources. These are all optional.

Name Type Description Default
pretty boolean Displays response in a prettyprint format. false
envelope boolean Specifies whether or not to wrap the response in an envelope. false

Request Body Parameters

This endpoint does not use HTTP request body parameters.

Response Elements

This endpoint does not have response elements.

Example Request

curl -X DELETE -u 'username:apiKey' --digest ""

Example Response