Deletes a specified document collection from an AnalyticDB for PostgreSQL instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:DeleteDocumentCollection |
create |
*Collection
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The instance ID. Note
You can call the DescribeDBInstances operation to query all AnalyticDB for PostgreSQL instances in a region and obtain the instance ID. |
gp-xxxxxxxxx |
| Namespace |
string |
No |
The name of the namespace. Default value: public. Note
You can call the CreateNamespace operation to create a namespace and the ListNamespaces operation to query existing namespaces. |
mynamespace |
| Collection |
string |
Yes |
The name of the document collection to delete. |
document |
| RegionId |
string |
Yes |
The ID of the region where the instance is located. |
cn-hangzhou |
| NamespacePassword |
string |
Yes |
The password of the namespace. Note
This value is specified when you call the CreateNamespace operation. |
testpassword |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
ABB39CC3-4488-4857-905D-2E4A051D0521 |
| Message |
string |
The response message. |
Successful |
| Status |
string |
The operation status. Valid values:
|
success |
Examples
Success response
JSON format
{
"RequestId": "ABB39CC3-4488-4857-905D-2E4A051D0521",
"Message": "Successful",
"Status": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.