Deletes objects from PolarLakebase. This operation supports only Basic Edition and Cold Storage Edition instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:DeletePolarFsObjects |
none |
*All Resource
|
None | None |
Request syntax
POST / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PolarFsInstanceId |
string |
Yes |
The PolarLakebase instance ID. |
pfs-2ze0i7***** |
| DBClusterId |
string |
No |
The cluster ID. |
pc-*** |
| ObjectsToDelete |
array |
Yes |
The list of objects to delete. |
|
|
string |
No |
The object to delete. |
test001/ |
Examples of the ObjectsToDelete parameter
Example of a directory path for a Cold Storage Edition instance:
test001/Example of an object path for a Cold Storage Edition instance:
test001/file.txtExample of a directory path for a Basic Edition instance:
/dirExample of an object path for a Basic Edition instance:
/dir/file.txt
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
C890995A-CF06-4F4D-8DB8-DD26C2****** |
| PolarFsInstanceId |
string |
The PolarLakebase instance ID. |
pfs-2ze0i7***** |
Examples
Success response
JSON format
{
"RequestId": "C890995A-CF06-4F4D-8DB8-DD26C2******",
"PolarFsInstanceId": "pfs-2ze0i7*****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.