For AI agents: a documentation index is available at https://www.mongodb.com/es/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
MongoDB Branding Shape
Click here >
Docs Menu

Organization Programmatic API Keys

Base URL: https://{OPSMANAGER-HOST}:{PORT}/api/public/v1.0

Use the /orgs/{ORG-ID}/apiKeys resource to view, create, or delete Programmatic |api| Keys within the specified Ops Manager organization.

To use these endpoints, grant the following roles to an Project API Key or user in your Organization:

Role
Possible Action

Any role in the Organization

Retrieve Organization API Keys

Organization Owner or Organization User Admin

Create, update, or delete a Organization API Key

Method
Endpoint
Description

GET

Get all API Keys for the organization identified with {ORG-ID}.

GET

Get one API Key for the organization identified with {ORG-ID}.

POST

Create an API Key for the organization identified with {ORG-ID}.

PATCH

Update one API Key for the organization identified with {ORG-ID}.

DELETE

Delete the API Key with ID {API-KEY-ID}.