Deletes file metadata from a dataset.
Operation description
-
Before calling this operation, review IMM billing.
-
Returns success regardless of whether the file metadata exists in the dataset.
-
Deleting metadata does not delete files stored in OSS or Photo and Drive Service. Use the respective APIs to delete files.
-
Deleting file metadata updates associated face clustering groups and stories (if any), but does not affect spatiotemporal clustering.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:DeleteFileMeta |
delete |
*Dataset
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The project name. CreateProject. |
test-project |
| DatasetName |
string |
Yes |
The dataset name. Create a dataset. |
test-datset |
| URI |
string |
Yes |
The file URI in OSS. Format: oss://${Bucket}/${Object}, where For 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 returned data. |
||
| RequestId |
string |
The request ID. |
7F82D6C9-5AC0-49F9-914D-F02678F3**** |
Examples
Success response
JSON format
{
"RequestId": "7F82D6C9-5AC0-49F9-914D-F02678F3****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.