Update Database User

What's MongoDB Atlas: MongoDB Atlas is a cloud service that lets you set up, operate, and scale your MongoDB deployments with ease

About ‘Update Database User' action: This action lets you update the details of an existing database user of your MongoDB Atlas account. 

Connect to MongoDB Atlas: Select the appropriate connection for MongoDB Atlas from the drop-down list. If you haven’t created a connection yet, select ‘Add New’ to create one.

Field data                                          

Group ID (Mandatory): Enter the ID of the group under which the database user is created. 

Username (Mandatory): Enter the username of the database user you wish to update. 

Roles: This block contains the details of the role(s) granted to the user. 

   Database Name (Mandatory): Enter the name of the database for which you wish to create/update the role. 

   Role Name (Mandatory): Enter the role that you wish to grant to the user. 

You can create/update multiple roles by clicking on 'ADD' link. 

Once you have entered the details, click on 'Done' and 'Run' the flow. This will update the specified database user of your MongoDB Atlas account. 

Refer to API documentation for more information: https://docs.atlas.mongodb.com/reference/api/database-users/#update-a-database-user

Output:
  • output-arrow mongodb-atlas-service-128 Update Database User
    • left-triangle databaseName string
    • left-triangle groupId string
    • left-triangle isEditable boolean
    • left-triangle links array
    • left-triangle roles array
      • left-triangle databaseName string
      • left-triangle roleName string
    • left-triangle username string