deleteCloudMongoDbUserList
- Print
- PDF
deleteCloudMongoDbUserList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Overview
Deleting a Cloud DB for MongoDB User
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | Region code regionCode can be obtained via the getRegionList action Default: selects the first region of the getRegionList query results | |
cloudMongoDbInstanceNo | Yes | String | Cloud DB for MongoDB instance number cloudMongoDbInstanceNo can be obtained via the getCloudMongoDbInstanceList action | |
cloudMongoDbUserList.N.userName | Yes | List<String> | Only alphanumeric characters, underscores (_), and hyphens (-) are allowed, and the first character must be a letter. Min: 4, Max: 16 | Cloud DB for MongoDB User name Up to 10 user IDs can be deleted at once. |
cloudMongoDbUserList.N.databaseName | Yes | List<String> | Only alphanumeric characters, underscores (_), and hyphens (-) are allowed, and the first character must be a letter. Min: 4, Max: 16 | Cloud DB for MongoDB Database name |
output | No | String | - Format type of the response result Options : xml | json Default : json |
Examples
Request examples
ncloud vmongodb deleteCloudMongoDbUserList --regionCode KR --cloudMongoDbInstanceNo ****890 --cloudMongoDbUserList "userName='testuser', databaseName='testdatabase'"
Response examples
{
"deleteCloudMongoDbUserListResponse": {
"requestId": "2afd05f7-8817-4234-8a77-c9a5906133d8",
"returnCode": 0,
"returnMessage": "success"
}
}
Was this article helpful?