MongoDB Flex Clusters API

Returns, adds, edits, and removes flex clusters.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 6

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}/flexClusters List flex clusters in a project · Return All Flex Clusters from One Project #
Ask an LLM
“Which flex clusters exist in my project?”
“Can I see all flex clusters at once?”
Tell an agent
List all flex clusters in project {groupId}.
Show every flex cluster in project {groupId}.
POST /api/atlas/v2/groups/{groupId}/flexClusters Create a flex cluster · Create One Flex Cluster in One Project #
Ask an LLM
“How do I create a flex cluster in a project?”
“What provider settings does a new flex cluster need?”
Tell an agent
Create flex cluster {name} in project {groupId} with provider settings {providerSettings}.
Add a new flex cluster {name} to project {groupId}.
DELETE /api/atlas/v2/groups/{groupId}/flexClusters/{name} Delete a flex cluster · Remove One Flex Cluster from One Project #
Ask an LLM
“How do I remove a flex cluster from a project?”
“Why can't I delete a flex cluster that has termination protection?”
Tell an agent destructive · confirm first
Delete flex cluster {name} from project {groupId}.
Remove the flex cluster {name} in project {groupId}.
GET /api/atlas/v2/groups/{groupId}/flexClusters/{name} Get a flex cluster · Return One Flex Cluster from One Project #
Ask an LLM
“What provider settings does a flex cluster have?”
“Can I look up one flex cluster by name?”
Tell an agent
Get flex cluster {name} in project {groupId}.
Show the provider settings of flex cluster {name} in project {groupId}.
PATCH /api/atlas/v2/groups/{groupId}/flexClusters/{name} Update a flex cluster · Update One Flex Cluster in One Project #
Ask an LLM
“Can I change the tags on an existing flex cluster?”
“How do I turn off termination protection on a flex cluster?”
Tell an agent
Set termination protection to {terminationProtectionEnabled} on flex cluster {name} in project {groupId}.
Update the tags on flex cluster {name} in project {groupId} to {tags}.
POST /api/atlas/v2/groups/{groupId}/flexClusters:tenantUpgrade Upgrade a flex cluster to a dedicated cluster · Upgrade One Flex Cluster #
Ask an LLM
“How do I upgrade a flex cluster to a dedicated M10+ cluster?”
“Can I force a replica set reconfig when upgrading a flex cluster?”
Tell an agent
Upgrade flex cluster {name} in project {groupId} to a dedicated cluster.
Upgrade flex cluster {name} in project {groupId} with force reconfig {acceptDataRisksAndForceReplicaSetReconfig}.

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-flex-clusters-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-flex-clusters-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mongodb Flex Clusters 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 Flex Clusters 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 (161 KB total) ---
# Full source: https://artifacts.apis.io/mongodb/openapi/mongodb-flex-clusters-api-openapi.yml