Batch deletes file metadata from a dataset.
Operation description
-
Before you call this operation, make sure that you are familiar with the billing of Intelligent Media Management (IMM).
-
The operation returns a success response regardless of whether the specified file metadata exists in the dataset.
-
Deleting file metadata from a dataset does not delete the file stored in Object Storage Service (OSS) or Photo and Drive Service. To delete the file itself, use the API provided by OSS or Photo and Drive Service.
-
Deleting file metadata affects existing face groups and stories but does not affect existing spatiotemporal groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:BatchDeleteFileMeta |
delete |
*Dataset
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The name of the project. You can obtain the project name from the response of the CreateProject operation. |
test-project |
| DatasetName |
string |
Yes |
The name of the dataset. You can obtain the dataset name from the response of the CreateDataset operation. |
test-dataset |
| URIs |
array |
Yes |
The URIs of the files whose metadata you want to delete. You can specify up to 100 URIs. |
|
|
string |
No |
The URI of the file whose metadata you want to delete. Format: oss://${Bucket}/${Object}. For files in Photo and Drive Service, use the format: pds://domains/${domain}/drives/${drive}/files/${file}/revisions/${revision}. |
oss://test-bucket/test-object |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
3A82F6C9-5AC0-38F9-914F-F02623B3**** |
Examples
Success response
JSON format
{
"RequestId": "3A82F6C9-5AC0-38F9-914F-F02623B3****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.