M

MongoDB Atlas Administration API

REST discovered

Details
URL
https://cloud.mongodb.com/api/atlas/v2
Docs
https://www.mongodb.com/docs/api/doc/atlas-admin-api-v2/
Authentication
Atlas service account client ID and client secret oauth2_cc discovered Set up OAuth ↗
Authorization: Bearer <credential>

In Get Started with the Atlas Administration API, go to Applications in your Atlas organization, click Add new Service Account, assign organization/project roles, create it, and copy the client secret when shown. Use the client ID and secret to mint an OAuth token with the client-credentials flow at POST https://cloud.mongodb.com/api/oauth/token.

Atlas Administration API public/private API key pair basic discovered Get credentials ↗
Authorization: Digest <credential>

In Get Started with the Atlas Administration API, create programmatic API access for your Atlas organization or project and save the Public Key and Private Key. Atlas documents these as the legacy API-key method for Atlas Administration API access via HTTP Digest authentication.