MongoDB Network Peering API

Returns, adds, edits, and removes network peering containers and peering connections. When you deploy an M10+ dedicated cluster, Atlas creates a VPC for the selected provider and region or regions if no existing VPC or VPC peering connection exists for that provider and region. Atlas assigns the VPC a Classless Inter-Domain Routing (CIDR) block.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 13

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/atlas/v2/groups/{groupId}/containers List network peering containers for one cloud provider · Return All Network Peering Containers in One Project for One Cloud Provider #
Ask an LLM
“Which VPC peering containers exist in my project for AWS?”
“Can I list only the network peering containers for one cloud provider?”
Tell an agent
List network peering containers for {providerName} in project {groupId}.
Show the VPC peering containers in project {groupId} for cloud provider {providerName}.
POST /api/atlas/v2/groups/{groupId}/containers Create a network peering container · Create One Network Peering Container #
Ask an LLM
“How do I create a new VPC peering container in a project?”
“Can I mark a new network peering container as provisioned when I create it?”
Tell an agent
Create a network peering container in project {groupId}.
Create a {providerName} peering container in project {groupId} with provisioned set to {provisioned}.
GET /api/atlas/v2/groups/{groupId}/containers/all List all network peering containers in a project · Return All Network Peering Containers in One Project #
Ask an LLM
“What network peering containers exist across every cloud provider in my project?”
“Can I see all VPC peering containers in a project regardless of cloud provider?”
Tell an agent
List all network peering containers in project {groupId}.
Show every VPC peering container in project {groupId}, across all cloud providers.
DELETE /api/atlas/v2/groups/{groupId}/containers/{containerId} Remove a network peering container · Remove One Network Peering Container #
Ask an LLM
“How do I delete a VPC peering container from a project?”
“Can I remove a network peering container I no longer use?”
Tell an agent destructive · confirm first
Delete network peering container {containerId} from project {groupId}.
Remove VPC peering container {containerId} in project {groupId}.
GET /api/atlas/v2/groups/{groupId}/containers/{containerId} Get one network peering container · Return One Network Peering Container #
Ask an LLM
“What cloud provider and provisioned state does one VPC peering container have?”
“Can I look up a single network peering container by its ID?”
Tell an agent
Get network peering container {containerId} in project {groupId}.
Show the details of VPC peering container {containerId} in project {groupId}.
PATCH /api/atlas/v2/groups/{groupId}/containers/{containerId} Update a network peering container · Update One Network Peering Container #
Ask an LLM
“Can I change the cloud provider settings of an existing VPC peering container?”
“How do I mark an existing network peering container as provisioned?”
Tell an agent
Update network peering container {containerId} in project {groupId}.
Set provisioned to {provisioned} on VPC peering container {containerId} in project {groupId}.
GET /api/atlas/v2/groups/{groupId}/peers List network peering connections in a project · Return All Network Peering Connections in One Project #
Ask an LLM
“Which network peering connections exist in my project?”
“Can I list peering connections for just one cloud provider?”
Tell an agent
List network peering connections in project {groupId}.
Show peering connections in project {groupId} for cloud provider {providerName}.
POST /api/atlas/v2/groups/{groupId}/peers Create a network peering connection · Create One Network Peering Connection #
Ask an LLM
“How do I create a new VPC peering connection in a project?”
“Can I attach a peering connection to a specific network peering container?”
Tell an agent
Create a network peering connection in project {groupId} attached to container {containerId}.
Add a new VPC peering connection to container {containerId} in project {groupId}.
DELETE /api/atlas/v2/groups/{groupId}/peers/{peerId} Remove a network peering connection · Remove One Network Peering Connection #
Ask an LLM
“How do I delete a VPC peering connection from a project?”
“What happens to a project's IP access list if I remove its last peering connection?”
Tell an agent destructive · confirm first
Delete network peering connection {peerId} from project {groupId}.
Remove peering connection {peerId} in project {groupId}.
GET /api/atlas/v2/groups/{groupId}/peers/{peerId} Get one network peering connection · Return One Network Peering Connection in One Project #
Ask an LLM
“What cloud provider and container is a specific peering connection attached to?”
“Can I look up one network peering connection by its ID?”
Tell an agent
Get network peering connection {peerId} in project {groupId}.
Show the details of peering connection {peerId} in project {groupId}.
PATCH /api/atlas/v2/groups/{groupId}/peers/{peerId} Update a network peering connection · Update One Network Peering Connection #
Ask an LLM
“Can I move an existing peering connection to a different network container?”
“How do I change the cloud provider settings of a peering connection?”
Tell an agent
Update network peering connection {peerId} in project {groupId} to container {containerId}.
Move peering connection {peerId} in project {groupId} to container {containerId}.
GET /api/atlas/v2/groups/{groupId}/privateIpMode Check whether peering-only mode is enabled · Verify Connect via Peering-Only Mode for One Project #
Ask an LLM
“Is my project set to connect via peering only?”
“Can I check whether Connect via Peering Only mode is enabled for a project?”
Tell an agent
Check whether Connect via Peering Only mode is enabled in project {groupId}.
Verify the private IP mode setting for project {groupId}.
PATCH /api/atlas/v2/groups/{groupId}/privateIpMode Disable peering-only mode for a project · Disable Connect via Peering-Only Mode for One Project #
Ask an LLM
“How do I turn off Connect via Peering Only mode for a project?”
“Can I allow public access again by disabling peering-only mode?”
Tell an agent
Disable Connect via Peering Only mode in project {groupId} by setting enabled to {enabled}.
Set private IP mode to {enabled} for project {groupId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mongodb:mongodb-network-peering-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mongodb-network-peering-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mongodb Network Peering API
  version: '2.0'
  license:
    name: CC BY-NC-SA 3.0 US
    url: https://creativecommons.org/licenses/by-nc-sa/3.0/us/
  termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
  x-refined-note:
  - x-xgen-sha differs across the merged source definitions and was not carried
  description: 'Operations tagged Network Peering across 2 of this provider''s published API definitions: mongodb-atlas-openapi.yaml, mongodb-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://cloud.mongodb.com
security:
- ServiceAccounts: []
- DigestAuth: []
tags:


# --- truncated at 32 KB (89 KB total) ---
# Full source: https://artifacts.apis.io/mongodb/openapi/mongodb-network-peering-api-openapi.yml