The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Available in VPC
Overview
Delete a DB user of a Cloud DB for MySQL instance.
Request
Request parameters
| Parameter name | Required | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | - Region code regionCode can be obtained through the getRegionList action. Default: Select the first Region of the getRegionList search results. |
|
| cloudMysqlInstanceNo | Yes | String | - Cloud DB for MySQL instance number cloudMysqlInstanceNo can be obtained through the getCloudMysqlInstanceList action |
|
| cloudMysqlUserList.N.name | Yes | List<String> | Only English letters, numbers, underscores (_), and hyphens (-) are allowed. It must start with an English letter Min: 3 Max: 16 |
- MySQL user ID |
| cloudMysqlUserList.N.hostIp | Yes | List<String> | - MySQL user host Example) Allow access to all: % Allow access to specific IPs: 1.1.1.1 Allow access to an IP range: 1.1.1.% |
|
| output | No | String | - Format type of the response result Options: xml | json Default: json |
Examples
Request example
ncloud vmysql deleteCloudMysqlUserList --regionCode KR --cloudMysqlInstanceNo ****890 --cloudMysqlUserList "name='testuser', hostIp='%'"
Response example
<deleteCloudMysqlUserListResponse>
<requestId>2afd05f7-8817-4234-8a77-c9a5906133d8</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
</deleteCloudMysqlUserListResponse>