Navigation

Network Peering

Info With Circle IconCreated with Sketch.Note

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: https://cloud.mongodb.com/api/atlas/v1.0

The following lists the endpoints available for Network Peering.

MethodEndpointDescription
GET/groups/{PROJECT-ID}/containers/allGet details for all network peering containers in an Atlas project.
GET/groups/{PROJECT-ID}/containersGet details for all network peering containers in an Atlas project for a single cloud provider.
GET/groups/{PROJECT-ID}/containers/{CONTAINER-ID}Get details for one network peering container in an Atlas project.
POST/groups/{PROJECT-ID}/containersCreate one new network peering container in an Atlas project.
PATCH/groups/{PROJECT-ID}/containers/{CONTAINER-ID}Update details for one network peering container in an Atlas project.
DELETE/groups/{PROJECT-ID}/containers/{CONTAINER-ID}Remove one network peering container in an Atlas project.
GET/groups/{PROJECT-ID}/peersGet details for all network peering connections in an Atlas project.
GET/groups/{PROJECT-ID}/peers/{PEER-ID}Get details for one network peering connection in an Atlas project.
POST/groups/{PROJECT-ID}/peersCreate a new network peering connection in an Atlas project.
PATCH/groups/{PROJECT-ID}/peers/{PEER-ID}Update a new network peering connection in an Atlas project.
DELETE/groups/{PROJECT-ID}/peers/{PEER-ID}Delete one network peering connection in an Atlas project.
GET/groups/{PROJECT-ID}/privateIpMode

Verify if an Atlas project is in Connect via Peering Only mode.

Info With Circle IconCreated with Sketch.Note

Atlas has deprecated Connect via Peering Only. You should use split horizon connection strings.

PATCH/groups/{PROJECT-ID}/privateIpMode

Disable Connect via Peering Only mode for one Atlas project.

Info With Circle IconCreated with Sketch.Note

Atlas has deprecated Connect via Peering Only. You should use split horizon connection strings.

Give Feedback