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.
This version of the manual is no longer supported.

Organization Programmatic API Key Whitelists

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

Use the /orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/whitelist resource to view, create, or delete whitelist entries for a user or Programmatic API Key within the specified Ops Manager organization.

The Organization API Key, or users with the Organization Owner role in the organization in which the API Key belongs, can access these endpoints.

Method Endpoint Description
GET /orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/whitelist Get all whitelist entries that belong to {API-KEY-ID}.
GET /orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/whitelist/{IP-ADDRESS} Get the whitelist entry for {API-KEY-ID} specified by {IP-ADDRESS}.
POST /orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/whitelist Create one or more whitelist entries for {API-KEY-ID}.
DELETE /orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/whitelist/{IP-ADDRESS} Delete the whitelist entry for {API-KEY-ID} specified by {IP-ADDRESS}.