addCloudMongoDbUserList
    • PDF

    addCloudMongoDbUserList

    • PDF

    Article summary

    Available in VPC

    Overview

    Add a Cloud DB for MongoDB User.

    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.passwordYesList<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.authorityYesList<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 addCloudMongoDbUserList --regionCode KR --cloudMongoDbInstanceNo ****890 --cloudMongoDbUserList "userName='testuser', databaseName='testdatabase', password='********', authority='READ'"
    

    Response examples

    {
      "addCloudMongoDbUserListResponse": {
        "requestId": "d35c01cf-e77a-44a9-a2b9-1fd1f9572750",
        "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.