Navigation

VPC

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

Endpoints

The following lists the endpoints available for VPC peering.

Method Endpoint Description
GET /groups/{GROUP-ID}/containers Get all containers in one project.
GET /groups/{GROUP-ID}/containers/{CONTAINER-ID} Get one specific container in one project.
POST /groups/{GROUP-ID}/containers Create one new container in one project.
PATCH /groups/{GROUP-ID}/containers/{CONTAINER-ID} Update one container in one project.
DELETE /groups/{GROUP-ID}/containers/{CONTAINER-ID} Remove one specific unprovisioned cloud provider container in one project.
GET /groups/{GROUP-ID}/peers Get all VPC peering connections in one project.
GET /groups/{GROUP-ID}/peers/{PEER-ID} Get one specific VPC peering connection in one project.
POST /groups/{GROUP-ID}/peers Create one new VPC peering connection.
PATCH /groups/{GROUP-ID}/peers/{PEER-ID} Update one VPC peering connection in one project.
DELETE /groups/{GROUP-ID}/peers/{PEER-ID} Delete one VPC peering connection in one project.
GET /groups/{GROUP-ID}/privateIpMode

Check if one project is in private IP mode.

Note

Private IP mode is required to use GCP VPC peering.

PATCH /groups/{GROUP-ID}/privateIpMode

Enable or disable private IP mode in one project.

Note

Private IP mode is required to use GCP VPC peering.