changeCloudMysqlUserList
- Print
- PDF
changeCloudMysqlUserList
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Available in VPC
Overview
Edit DB User to Cloud DB for MySQL instance.
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - Region code regionCode can be obtained via the getRegionList action. Default: the first Region of the getRegionList search results is selected. | |
cloudMysqlInstanceNo | Yes | String | - Cloud DB for MySQL instance number cloudMysqlInstanceNo can be obtained via the getCloudMysqlInstanceListaction. | |
cloudMysqlUserList.N.name | Yes | List<String> | Only alphanumeric characters, underscores (_), and hyphens (-) are allowed, and the first character must be a letter. Min: 4 Max: 16 | - MySQL User ID Uneditable |
cloudMysqlUserList.N.hostIp | Yes | List<String> | - MySQL User host Uneditable Example: Allow access to all: % Allow access to specific IPs: 1.1.1.1 Allow access to an IP range: 1.1.1.% | |
cloudMysqlUserList.N.password | No | List<String> | Must contain at least one character for 3 items of English, number, and special characters You cannot use particular special characters (`, &, +, ", ', /, and spacing). When the password plugin is activated, the policy set by the plugin must also be satisfied. Min: 9 Max: 20 | - MySQL user password |
cloudMysqlUserList.N.authority | Yes | List<String> | - MySQL user authority Options : READ | CRUD | DDL | |
responseFormatType | No | String | - Format type of the response result Options : xml | json Default : xml |
Examples
Request examples
GET {API_URL}/changeCloudMysqlUserList
?regionCode=KR
&cloudMysqlInstanceNo=****890
&cloudMysqlUserList.1.name=testuser
&cloudMysqlUserList.1.hostIp=%
&cloudMysqlUserList.1.password=********
&cloudMysqlUserList.1.authority=CRUD
Response examples
<changeCloudMysqlUserListResponse>
<requestId>08bc2188-6a20-4129-9176-f85be77073dc</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
</changeCloudMysqlUserListResponse>
Was this article helpful?