All Products
Search
Document Center

Drive and Photo Service:FileDeleteUserTags

Last Updated:Aug 04, 2025

Removes custom tags from a file.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /v2/file/delete_usertags HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
bodyobjectNo

The request parameters.

drive_idstringYes

The drive ID.

1
file_idstringYes

The file ID.

9520943DC264
key_listarrayYes

The tags that you want to remove from a file. You cannot leave this parameter empty. You can specify up to 1,000 tags.

stringYes

The name of the tag. The name cannot contain a number sign (#).

tag

Response parameters

ParameterTypeDescriptionExample
The current API has no return parameters

Examples

Sample success responses

JSONformat

{}

Error codes

For a list of error codes, visit the Service error codes.