Fix This Page
Navigation

Delete an Existing VPC Peering Connection

Base URL: https://cloud.mongodb.com/

Syntax

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 group.
PEER-ID Required.

Atlas assigned unique ID for the peering connection.

Note

This is separate from the vpc ID.

Request Query Parameters

Field Required/Optional Description
envelope Optional. A boolean that specifies whether or not to wrap the response in an envelope.

Request Body Parameters

This endpoint does not use HTTP request body parameters.

HTTP Response Elements

{ }

Example Request

curl -X DELETE -u 'username:apiKey' --digest "https://cloud.mongodb.com/api/atlas/v1.0/groups/5356823b3794dee37132bb7b/peers/1112222b3bf99403840e8934"

Example Response

{}