Docs Menu
Docs Home
/
MongoDB Cloud Manager
/ / /

Project Programmatic Service Account Access Lists

Note

The whitelist resource is deprecated. Use the accessList resource instead to control access to API operations.

Base URL: https://cloud.mongodb.com/api/public/v1.0

Use the /groups/{PROJECT-ID}/serviceAccounts/{CLIENT-ID}/accessList resource to view, create, or delete access list entries for a service account within the specified Cloud Manager Project.

To use these endpoints, grant the following roles to a service account or user in your Project:

Role
Possible Action

Any role

Retrieve service account access lists.

Create or delete service account access lists.

Method
Endpoint
Description

GET

Get all access list entries that belong to the service account identified with {CLIENT-ID}.

POST

Create one or more access list entries for the service account identified with {CLIENT-ID}.

DELETE

Delete the access list entry for the service account identified with {CLIENT-ID} specified by {IP-ADDRESS}.

Back

Delete