python-atlasapi
python-atlasapi copied to clipboard
Implement Basic API Keys Endpoints
https://www.mongodb.com/docs/atlas/reference/api/apiKeys/
Org Api keys
| Method | Endpoint | Description |
|---|---|---|
| GET | /orgs/{ORG-ID}/apiKeys | Get all Organization API Keys associated with {ORG-ID}. |
| GET | /orgs/{ORG-ID}/apiKeys/{API-KEY-ID} | Get one Organization API Key. |
Organization API Key Access List Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist | Get all API Key access list entries that belong to {API-KEY-ID}. |
| GET | /orgs/{ORG-ID}/apiKeys/{API-KEY-ID}/accesslist/{IP-ADDRESS} | Get the API Key access list entry for {API-KEY-ID} specified by {IP-ADDRESS}. |
Organization API Keys on Projects Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /groups/{GROUP-ID}/apiKeys | Get All Organization API Keys Assigned to One Project with ID {GROUP_ID}. |