How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

MongoDB Programmatic API Keys API

Returns, adds, edits, and removes access tokens to use the MongoDB Cloud API. MongoDB Cloud applies these keys to organizations. These resources can return, assign, or revoke use of these keys within a specified project.

MongoDB Programmatic API Keys API is one of 53 APIs that MongoDB publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Programmatic API Keys. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, rate-limit docs, and a changelog.

This API exposes 14 operations across 6 paths, and defines 15 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against a single base URL, https://cloud.mongodb.com.

14 operations 6 paths 15 schemas 3 DELETE5 GET2 PATCH4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Base URL
https://cloud.mongodb.com/api/atlas/v2
Authentication
HTTP Digest, OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 2

MongoDB Programmatic API Keys API declares 2 security schemes for authenticating requests. It uses HTTP digest authentication (DigestAuth). It supports OAuth 2.0 (ServiceAccounts) using the clientCredentials flow. By default, every request must be authenticated.

  • ServiceAccounts — Learn more about [Service Accounts](https://www.mongodb.com/docs/atlas/api/service-accounts-overview).

Paths & Operations 14

Across 6 paths, the API surfaces 14 operations — 3 DELETE, 5 GET, 2 PATCH, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Programmatic API Keys 14

Returns, adds, edits, and removes access tokens to use the MongoDB Cloud API. MongoDB Cloud applies these keys to organizations. These resources can return, assign, or revoke use…

GET
/api/atlas/v2/groups/{groupId}/apiKeys
Return All Organization API Keys Assigned to One Project
listGroupApiKeys 6 params → 200401403404429500
POST
/api/atlas/v2/groups/{groupId}/apiKeys
Create and Assign One Organization API Key to One Project
createGroupApiKey 3 params body → 200401403404429500
DELETE
/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}
Unassign One Organization API Key from One Project
removeGroupApiKey 4 params → 204400401403404429500
PATCH
/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}
Update Organization API Key Roles for One Project
updateGroupApiKeyRoles 7 params body → 200400401403404429500
POST
/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}
Assign One Organization API Key to One Project
addGroupApiKey 4 params body → 204401403404429500
GET
/api/atlas/v2/orgs/{orgId}/apiKeys
Return All Organization API Keys
listOrgApiKeys 6 params → 200401403404429500
POST
/api/atlas/v2/orgs/{orgId}/apiKeys
Create One Organization API Key
createOrgApiKey 3 params body → 200401403404429500
DELETE
/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}
Remove One Organization API Key
deleteOrgApiKey 4 params → 204401403404429500
GET
/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}
Return One Organization API Key
getOrgApiKey 4 params → 200401403404429500
PATCH
/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}
Update One Organization API Key
updateOrgApiKey 4 params body → 200400401403404429500
GET
/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList
Return All Access List Entries for One Organization API Key
listOrgApiKeyAccessListEntries 7 params → 200401403404429500
POST
/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList
Create One Access List Entry for One Organization API Key
createOrgApiKeyAccessListEntry 7 params body → 200400401403404409429500
DELETE
/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}
Remove One Access List Entry for One Organization API Key
deleteOrgApiKeyAccessListEntry 5 params → 204400401403404429500
GET
/api/atlas/v2/orgs/{orgId}/apiKeys/{apiUserId}/accessList/{ipAddress}
Return One Access List Entry for One Organization API Key
getOrgApiKeyAccessListEntry 5 params → 200401403404429500

Schemas 15

The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are UserAccessListResponse (7 properties), ApiError (6 properties), ApiKeyUserDetails (6 properties), PaginatedApiUserAccessListResponseView (3 properties). Each schema is shown below with its type and property counts.

CreateAtlasOrganizationApiKey
object
Organization Service Account that Atlas creates for this organization. If omitted, Atlas doesn't create an organization Service Account for this organization.…
2 properties 2 required
ApiError
object
6 properties 2 required
Link
object
2 properties
FieldViolation
object
2 properties 2 required
UserAccessListResponse
object
7 properties
CloudAccessRoleAssignment
object
MongoDB Cloud user's roles and the corresponding organization or project to which that role applies. Each role can apply to one organization or one project but…
3 properties
CreateAtlasProjectApiKey
object
2 properties 2 required
PaginatedApiUserAccessListResponseView
object
3 properties 1 required
UpdateAtlasProjectApiKey
object
2 properties
UpdateAtlasOrganizationApiKey
object
2 properties
BadRequestDetail
object
Bad request detail.
1 property
ApiKeyUserDetails
object
Details of the Programmatic API Keys.
6 properties
UserAccessListRequest
object
2 properties
UserAccessRoleAssignment
object
2 properties
PaginatedApiApiUserView
object
3 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

mongodb-programmatic-api-keys-api-openapi.yml Raw ↑

Other APIs MongoDB publishes across the network.

MongoDB Atlas Data API
MongoDB Atlas App Services Admin API
MongoDB Access Tracking API
MongoDB Activity Feed API
MongoDB Alert Configurations API
MongoDB Alerts API
MongoDB Atlas Search API
MongoDB Auditing API
MongoDB AWS Clusters DNS API
MongoDB Cloud Backups API
MongoDB Cloud Migration Service API
MongoDB Cloud Provider Access API
Where this information came from

This is an independent, third-party profile of MongoDB Programmatic API Keys API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.