Navigation
This version of the documentation is archived and no longer supported. To learn how to upgrade your version of MongoDB Ops Manager, refer to the upgrade documentation.
You were redirected from a different version of the documentation. Click here to go back.

Global Programmatic API Keys

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

Use the /admin/apiKeys resource to view, create, or delete Global API Keys.

See also

To learn more about Global Programmatic API Keys, see API Keys.

Permissions

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

Role Possible Action
Any Global role Retrieve Global API Keys
Global Owner or Global User Admin Create, update, or delete a Global API Key

Endpoints

Method Endpoint Description
GET /admin/apiKeys Get all Global API Keys.
GET /admin/apiKeys/roles Get all roles for Global API Keys.
GET /admin/apiKeys/{API-KEY-ID} Get one API Key with ID {API-KEY-ID}.
POST /admin/apiKeys Create an API Key.
PATCH /admin/apiKeys/{API-KEY-ID} Update one API Key with ID {API-KEY-ID}.
DELETE /admin/apiKeys/{API-KEY-ID} Delete the API Key with ID {API-KEY-ID}.