changeCloudMongoDbUserList
    • PDF

    changeCloudMongoDbUserList

    • PDF

    Article Summary

    Available in VPC

    Overview

    Edit Cloud DB for MongoDB user information

    Requests

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    regionCode can be obtained via the getRegionList action
    Default: selects the first region of the getRegionList query results
    cloudMongoDbInstanceNoYesString- Cloud DB for MongoDB instance number
    cloudMongoDbInstanceNo can be obtained via the getCloudMongoDbInstanceList action
    cloudMongoDbUserList.N.userNameYesList<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's name
    Up to 10 user IDs can be deleted at once.
    cloudMongoDbUserList.N.databaseNameYesList<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
    cloudMongoDbUserList.N.passwordNoList<String>Must contain at least one each of (alphanumeric) letter, number, and special character.
    Min: 8, Max: 20
    - Cloud DB for MongoDB user password
    cloudMongoDbUserList.N.authorityNoList<String>- Cloud DB for MongoDB user DB authority
    Options: READ | READ_WRITE
    outputNoString- Format type of the response result
    Options : xml | json
    Default : json

    Examples

    Request examples

    ncloud vmongodb changeCloudMongoDbUserList --regionCode KR --cloudMongoDbInstanceNo ****890 --cloudMongoDbUserList "userName='testuser', databaseName='testdatabase', password='********', authority='READ'"
    

    Response examples

    {
      "changeCloudMongoDbUserListResponse": {
        "requestId": "08bc2188-6a20-4129-9176-f85be77073dc",
        "returnCode": 0,
        "returnMessage": "success"
      }
    }
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.