Get All Database Users
Returns all database users that belong to the specified project. To use this resource, the requesting API Key must have the Project Read Only role. This resource does not require the API Key to have an Access List.
Basic Parameters
Parameter | Description |
---|---|
Project ID | Unique 24 hexadecimal-digit string that identifies your project. Can be retrieved using "Return All Projects". |
Advanced Parameters
Parameter | Description |
---|---|
Items Per Page | Number of items that the response returns per page. Default: 100. Max: 500. |
Page Number | Number of the page that displays the current set of the total objects that the response returns. |
Example Output
{
"links": [
{
"href": "https://mms.mongodb.com/api/atlas/v1.0/groups/{groupId}/serverless/{instanceName1}/backup/snapshots",
"rel": "https://mms.mongodb.com/snapshots"
}
],
"results": [
{
"awsIAMType": "NONE",
"databaseName": "admin",
"deleteAfterDate": "2019-08-24T14:15:22Z",
"labels": [
{
"key": "string",
"value": "string"
}
],
"ldapAuthType": "NONE",
"links": [
{
"href": "https://mms.mongodb.com/api/atlas/v1.0/groups/{groupId}/serverless/{instanceName1}/backup/snapshots",
"rel": "https://mms.mongodb.com/snapshots"
}
],
"roles": [
{
"collectionName": "string",
"databaseName": "string",
"roleName": "atlasAdmin"
}
],
"scopes": [
{
"name": "string",
"type": "CLUSTER"
}
],
"username": "string",
"x509Type": "NONE"
}
],
"totalCount": 0
}
Workflow Library Example
Get All Database Users with Mongodb Atlas and Send Results Via Email
Preview this Workflow on desktop