tencent cloud

Cloud Infinite

Deleting Metadata Index

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-09-08 16:16:48
AI 번역

Feature Description

Delete the metadata of a file from a dataset.
Note:
A deletion success is returned regardless of whether the metadata of the file exists in the dataset.

Authorization Description

When using a sub-account, add the ci:DeleteFileMetaIndex permission to the action of the authorization policy. For all APIs supported by Cloud Infinite, see CI action.

Use Limits

Before using this API, confirm the relevant restrictions. For details, see Usage Limits.

Request

Request sample

DELETE /filemeta HTTP/1.1
Host: <AppId>.ci.ap-jakarta.myqcloud.com
Authorization: Auth String
Content-Length: xxx
Content-Type: application/json
Accept: application/json
Note:
Authorization: Auth String (For details, see Request Signature).
When using a sub-account, grant the required permissions. For details, see Authorization Granularity Details.

Request header

This API only uses common request headers. For details, see Common Request Headers.

Request body

{
"DatasetName": "test",
"URI": "cos://examplebucket-1250000000/test.jpg"
}

Response

Request Parameter

Parameter Name
Description
Type
Required
DatasetName
Dataset name, unique within the same account. You can query it through the console or API
String
Yes
URI
Resource identifier field, indicating the file address for which an index needs to be deleted. Currently, only files on COS are supported. Field rule: cos://<BucketName>/<ObjectKey>, where BucketName indicates the COS Bucket name and ObjectKey indicates the complete file path. Example: cos://examplebucket-1250000000/test1/img.jpg
Attention:
Only COS files within the current account are supported
Addresses starting with HTTP are not supported
String
Yes

Response

Response Headers

This API only returns common response headers. For details, see Common Response Headers.

Response Body

{
"RequestId": "NWFjMzQ0MDZfOTBmYTUwXzZkZV8z****"
}
The specific data content of the response body is as follows:
Parameter Name
Type
Description
RequestId
String
Request ID


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백