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.
Parameter | Description |
---|---|
Project ID | Unique 24 hexadecimal-digit string that identifies your project. Can be retrieved using “Return All Projects”. |
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. |
{
"links": [
{
"href": "<string>",
"rel": "<string>"
}
],
"results": [
{
"awsIAMType": "<string>",
"databaseName": "<string>",
"groupId": "<string>",
"labels": [],
"ldapAuthType": "<string>",
"links": [
{
"href": "<string>",
"rel": "<string>"
}
],
"oidcAuthType": "<string>",
"roles": [
{
"databaseName": "<string>",
"roleName": "<string>"
}
],
"scopes": [],
"username": "<string>",
"x509Type": "<string>"
},
{
"awsIAMType": "<string>",
"databaseName": "<string>",
"groupId": "<string>",
"labels": [],
"ldapAuthType": "<string>",
"links": [
{
"href": "<string>",
"rel": "<string>"
}
],
"oidcAuthType": "<string>",
"roles": [
{
"collectionName": "<string>",
"databaseName": "<string>",
"roleName": "<string>"
}
],
"scopes": [],
"username": "<string>",
"x509Type": "<string>"
}
],
"totalCount": 5
}
Get All Database Users with Mongodb Atlas and Send Results Via Email
Preview this Workflow on desktop
Was this page helpful?