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
Deleting Cloud DB for PostgreSQL DB User
Commands
The text of the command is as follows:
ncloud vpostgresql deleteCloudPostgresqlUserList [regionCode] [cloudPostgresqlInstanceNo] [cloudPostgresqlUserList] [output]
Parameter
The following is a description on parameters.
| Parameter | Type | Requirement status | Description | Restrictions |
|---|---|---|---|---|
| regionCode | String | N | Region code - regionCode can be obtained via the getRegionList action - Default: selects the first region of the getRegionList search results |
- |
| cloudPostgresqlInstanceNo | String | Y | Cloud DB for PostgreSQL instance number - cloudPostgresqlInstanceNo can be obtained via the getCloudPostgresqlInstanceList action |
- |
| cloudPostgresqlUserList.N.name | List<String> | Y | Cloud DB for PostgreSQL DB User ID which you wish to delete - Up to 10 user tasks can be performed at a time |
- Only English lowercase letters, numbers, and underscore characters ( _ ) are allowed, and must start with an English letter - Min: 4 - Max: 16 |
| output | String | N | Format type of the response result - options: xml | json - default: json |
- |
Examples
Describes examples of recalls and responses.
Recall examples
The following are examples of recalls.
ncloud vpostgresql deleteCloudPostgresqlUserList --regionCode KR --cloudPostgresqlInstanceNo ****890 --cloudPostgresqlDatabaseList "name='pgtest'"
Response examples
The following are examples of responses.
If the response shows that format type (output) is json
{
"deleteCloudPostgresqlUserListResponse": {
"requestId": "2afd05f7-8817-4234-8a77-c9a5906133d8",
"returnCode": 0,
"returnMessage": "success"
}
}
If the response shows that format type (output) is xml
<deleteCloudPostgresqlUserListResponse>
<requestId>2afd05f7-8817-4234-8a77-c9a5906133d8</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
</deleteCloudPostgresqlUserListResponse>