create_atlas_user
Create a new database user with admin privileges for a MongoDB Atlas project. Specify project ID, username, and password to manage access roles effectively.
Instructions
Creates a new database user for an existing Atlas project. User will have atlasAdmin role.
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| password | Yes | The password for the database user. | |
| projectId | Yes | The ID of the Atlas project. | |
| roles | No | An array of roles for the user. Default is [atlasAdmin]. | |
| username | Yes | The username for the database user. | 
Input Schema (JSON Schema)
{
  "properties": {
    "password": {
      "description": "The password for the database user.",
      "type": "string"
    },
    "projectId": {
      "description": "The ID of the Atlas project.",
      "type": "string"
    },
    "roles": {
      "description": "An array of roles for the user. Default is [atlasAdmin].",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "username": {
      "description": "The username for the database user.",
      "type": "string"
    }
  },
  "required": [
    "projectId",
    "username",
    "password"
  ],
  "type": "object"
}