Docs Menu
Docs Home
/ /

atlas api databaseUsers

Returns, adds, edits, and removes database users.

The atlas api sub-command is automatically generated from the MongoDB Atlas Admin API and offers full coverage of the Admin API. Admin API capabilities have their own release lifecycle, which you can check via the provided API endpoint documentation link.

Name
Type
Required
Description

-h, --help

false

help for databaseUsers

Name
Type
Required
Description

-P, --profile

string

false

Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.

  • atlas api databaseUsers createDatabaseUser - Creates one database user in the specified project.

  • atlas api databaseUsers deleteDatabaseUser - Removes one database user from the specified project.

  • atlas api databaseUsers getDatabaseUser - Returns one database user that belong to the specified project.

  • atlas api databaseUsers listDatabaseUsers - Returns all database users that belong to the specified project.

  • atlas api databaseUsers updateDatabaseUser - Updates one database user that belongs to the specified project.

Back

updateCustomDbRole

On this page