Deletes one or more objects from a PolarFS instance.
Operation description
Description
The
PolarFsInstanceIdparameter is required and specifies the target PolarFS instance.The
DBClusterIdparameter is optional. It associates the operation with a specific PolarDB cluster.The
ObjectsToDeleteparameter is a required array of strings specifying the paths of the objects to delete.
Try it now
Test
RAM authorization
Request syntax
POST / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PolarFsInstanceId |
string |
Yes |
The ID of the PolarFS instance. |
pfs-2ze0i7***** |
| DBClusterId |
string |
No |
The ID of the cluster. |
pc-*** |
| ObjectsToDelete |
array |
Yes |
The paths of the objects to delete. |
|
|
string |
No |
The path of an object to delete. |
test001/ |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned for the request. |
||
| RequestId |
string |
The ID of the request. |
C890995A-CF06-4F4D-8DB8-DD26C2****** |
| PolarFsInstanceId |
string |
The ID of the PolarFS instance. |
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.