MongoDB LDAP Configuration API

Returns, edits, verifies, and removes LDAP configurations. An LDAP configuration defines settings for MongoDB Cloud to connect to your LDAP server over TLS for user authentication and authorization. Your LDAP server must be visible to the internet or connected to your MongoDB Cloud cluster with VPC Peering. Also, your LDAP server must use TLS. You must have the MongoDB Cloud admin user privilege to use these endpoints. Also, to configure user authentication and authorization with LDAPS, your cluster must run MongoDB 3.6 or higher. Groups for which you have configured LDAPS can't create a cluster using a version of MongoDB 3.6 or lower.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 5

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}/userSecurity Get a project's LDAP or X.509 config · Return LDAP or X.509 Configuration #
Ask an LLM
“What LDAP configuration is set on my project?”
“Can I see the X.509 certificate settings for a project?”
Tell an agent
Show the LDAP or X.509 configuration for project {groupId}.
Get the user security settings of project {groupId}.
PATCH /api/atlas/v2/groups/{groupId}/userSecurity Update a project's LDAP or X.509 config · Update LDAP or X.509 Configuration #
Ask an LLM
“How do I change the LDAP settings on a project?”
“Does updating a project's LDAP config restart the database?”
Tell an agent
Update the LDAP configuration of project {groupId} to {ldap}.
Set the X.509 certificate settings for project {groupId} to {customerX509}.
DELETE /api/atlas/v2/groups/{groupId}/userSecurity/ldap/userToDNMapping Remove a project's LDAP user-to-DN mapping · Remove LDAP User to DN Mapping #
Ask an LLM
“How do I clear the LDAP user-to-DN mapping on a project?”
“Can I remove the DN mapping captured in userToDNMapping?”
Tell an agent destructive · confirm first
Remove the LDAP user-to-DN mapping from project {groupId}.
Clear the captured LDAP DN mapping in project {groupId}.
POST /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify Test an Atlas project's LDAP settings · Verify LDAP Configuration in One Project #
Ask an LLM
“Can I test my project's LDAP configuration before saving it?”
“What's needed to verify an LDAP host and bind credentials?”
Tell an agent
Verify LDAP for project {groupId} with host {hostname}, port {port}, bind user {bindUsername}, password {bindPassword}.
Test LDAP {hostname}:{port} for project {groupId} using bind user {bindUsername} and cert {caCertificate}.
GET /api/atlas/v2/groups/{groupId}/userSecurity/ldap/verify/{requestId} Check an LDAP verification request · Return Status of LDAP Configuration Verification in One Project #
Ask an LLM
“Has my LDAP configuration verification finished?”
“What status did a specific LDAP verification request return?”
Tell an agent
Check LDAP verification request {requestId} on project {groupId}.
Get the LDAP config verification status for request {requestId} in 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-ldap-configuration-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-ldap-configuration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mongodb LDAP Configuration 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 LDAP Configuration 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 (39 KB total) ---
# Full source: https://artifacts.apis.io/mongodb/openapi/mongodb-ldap-configuration-api-openapi.yml