DeleteChunks
Deletes chunks from a document collection.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The instance ID. Note
Call the DescribeDBInstances operation to view details for all AnalyticDB for PostgreSQL instances in a specific region, including their instance IDs. |
gp-xxxxxxxxx |
| RegionId |
string |
Yes |
The region ID of the instance. |
cn-beijing |
| Namespace |
string |
No |
The name of the namespace. The default value is public. Note
Call the ListNamespaces operation to view a list of namespaces. |
mynamespace |
| NamespacePassword |
string |
Yes |
The password for the namespace. Note
This password is set when you call the CreateNamespace operation. |
testpassword |
| Collection |
string |
Yes |
The name of the document collection. Note
You create this document collection by calling the CreateDocumentCollection operation. To view existing document collections, call the ListDocumentCollections operation. |
testcollection |
| ChunkIds |
array |
Yes |
A list of chunk IDs. |
|
|
string |
Yes |
A chunk ID. |
doc_1234 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B4CAF581-2AC7-41AD-8940-D56DF7AADF5B |
Examples
Success response
JSON format
{
"RequestId": "B4CAF581-2AC7-41AD-8940-D56DF7AADF5B"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.