--- title: "deleteCloudMongoDbUserList" slug: "cli-vmongodb-deletecloudmongodbuserlist" updated: 2026-09-17T10:08:42Z published: 2026-09-17T10:08:42Z canonical: "cli.ncloud-docs.com/cli-vmongodb-deletecloudmongodbuserlist" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # deleteCloudMongoDbUserList Available in VPC Delete a DB user to be added to a Cloud DB for MongoDB instance. ## Syntax The `deleteCloudMongoDbUserList` syntax is as follows: ``` ./ncloud vmongodb deleteCloudMongoDbUserList \ --cloudMongoDbInstanceNo \ --cloudMongoDbUserList \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `deleteCloudMongoDbUserList`. ### Required options The following options are required for `deleteCloudMongoDbUserList`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--cloudMongoDbInstanceNo` | String | Required | Instance number of Cloud DB for MongoDB - See [getCloudMongoDbInstanceList](/docs/en/cli-vmongodb-getcloudmongodbinstancelist). | | `--cloudMongoDbUserList` | List | Required | List of DB users to be deleted - For each user, enter {field=‘value’} pairs within quotation marks, separated by commas. - `userName` (required): DB user account ID. See [getCloudMongoDbUserList](/docs/en/cli-vmongodb-getcloudmongodbuserlist). - `databaseName` (required): Name of the database in which the DB user is registered. See [getCloudMongoDbUserList](/docs/en/cli-vmongodb-getcloudmongodbuserlist). - Up to 10 can be entered. | ### Common options For information about the options common to all `vmongodb` subcommands, see [Cloud DB for MongoDB (VPC) options](/docs/en/cli-vmongodb#%EC%98%B5%EC%85%98). ## Examples If the request to delete a DB user is successful, the specified user will be deleted from the Cloud DB for MongoDB instance. ### Command The command example is as follows: ``` ./ncloud vmongodb deleteCloudMongoDbUserList \ --cloudMongoDbInstanceNo 34567890 \ --cloudMongoDbUserList "userName='testuser2', databaseName='testdb2'" \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "deleteCloudMongoDbUserListResponse": { "requestId": "d4e5f6a7-b8c9-0123-defa-456789012345", "returnCode": "0", "returnMessage": "success" } } ```