---
title: MongoDB Atlas Admin API Integration on Truto
slug: mongoatlasadmin
category: Application Development
canonical: "https://truto.one/integrations/detail/mongoatlasadmin/"
---

# MongoDB Atlas Admin API Integration on Truto



**Category:** Application Development  
**Status:** Generally available

## Unified APIs

### Unified User Directory API

- **Me** — 
- **Organizations** — Organizations are the top level entity in the source application. Users are associated with an organization.
- **Users** — The User object represents a User.
- **Workspaces** — Workspaces represent concepts like teams, workspaces, projects in apps that support them

## How it works

1. **Link your customer's MongoDB Atlas Admin account.** Use Truto's frontend SDK; we handle every OAuth and API key flow so you don't need to create the OAuth app.
2. **Authentication is automatic.** Truto refreshes tokens, stores credentials securely, and injects them into every API request.
3. **Call Truto's API to reach MongoDB Atlas Admin.** The Proxy API is a 1-to-1 mapping of the MongoDB Atlas Admin API.
4. **Get a unified response format.** Every response uses a single shape, with cursor-based pagination and data in the `result` field.

## Use cases

- **Automate employee offboarding from MongoDB Atlas** — HR and IT platforms can ensure that when an employee leaves the company, their access is revoked across all Atlas organizations and projects. Truto's Unified User Directory API maps Atlas organizations, projects, and users to a standard model, making cross-platform access audits straightforward.
- **Audit database access for cloud security compliance** — Cloud security and CSPM platforms can pull organization and user data from a customer's Atlas environment to verify who has access, flag over-privileged accounts, and ensure access policies align with compliance frameworks like SOC 2 and HIPAA.
- **Centralize identity and access visibility across dev tools** — Platform engineering and IAM tools need a unified view of which users belong to which projects across dozens of SaaS products. Integrating MongoDB Atlas Admin lets them include database infrastructure access in that single pane of glass.
- **Power just-in-time access workflows for production databases** — Privilege Access Management platforms can integrate with Atlas to grant and revoke temporary database user access, ensuring engineers only have production access when explicitly approved and for a limited window.

## What you can build

- **Atlas organization and project directory sync** — Automatically sync MongoDB Atlas organizations, projects, and their member users into your platform using Truto's Unified User Directory API for consistent identity mapping.
- **Cross-platform access audit dashboard** — Show security teams a consolidated view of which users have access to which Atlas projects alongside their access in other connected tools.
- **Automated offboarding access revocation** — Trigger removal of a departing employee's Atlas organization and project memberships as part of an automated offboarding workflow.
- **Atlas workspace membership detection** — Map Atlas projects to your internal workspace model so customers can see all project memberships for any user in a single query.
- **User privilege inventory report** — Generate a report of all Atlas users, their organization roles, and project assignments to support periodic access reviews and compliance audits.

## FAQs

### How does authentication work for the MongoDB Atlas Admin integration?

The Atlas Administration API uses programmatic API keys (a public key and private key pair) with HTTP Digest authentication. End users generate these keys in their Atlas organization or project settings and provide them when connecting through Truto. Truto manages the auth lifecycle so your application doesn't need to handle Digest auth directly.

### What data can I access through the Unified User Directory API for Atlas?

Truto maps Atlas resources to the Unified User Directory standard: Organizations map to Organizations, Projects (Groups) map to Workspaces, and Atlas users map to Users. You can also retrieve the current authenticated user via the Me endpoint.

### Are there rate limits on the MongoDB Atlas Administration API?

Yes. MongoDB Atlas enforces rate limits on API requests, typically 100 requests per minute per API key per project. Truto handles pagination and respects these limits, but high-volume use cases should account for throttling.

### Can I write data or only read it through this integration?

The specific tools for MongoDB Atlas Admin are built on request. The Unified User Directory API primarily supports read operations for users, organizations, and workspaces. If you need write operations like creating database users or managing clusters, contact Truto to discuss building custom tools for your use case.

### What happens if my customer has multiple Atlas organizations?

The Atlas API scopes API keys to specific organizations or projects. If a customer has multiple organizations, they would connect each one separately. Truto treats each connection independently, so you can aggregate data across multiple Atlas organizations in your application.

### How quickly can I get started if the tools I need aren't available yet?

Truto builds integration tools on request. Once you specify the Atlas API endpoints and data you need, the Truto team can build and ship custom tools tailored to your use case, typically without requiring you to learn the Atlas API's quirks around digest auth, group IDs, or pagination.
