tencent cloud

Smart Media Hosting

Delete Search Task

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2026-01-07 14:28:01

Description

Used to delete a search task.
Note:
When the client exits the search interface or updates search conditions, it is recommended to call this interface to end and delete the task of the previous search.

Request

Request Example

DELETE /api/v1/search/{LibraryId}/{SpaceId}/{SearchId}?access_token={AccessToken}&user_id={UserId}

Request Parameter

Request parameters.
Description
Type
Required or Not
LibraryId
Media Library ID, obtained after creating a media library in the media hosting console. See Create Media Library
String
Yes
SpaceId
Space ID, you must specify this parameter. If the media library is in single-tenant mode, this parameter is fixed as hyphen (-).
String
Yes
SearchId
Search task ID. For retrieval, see Search Directory and File
String
Yes
AccessToken
Access token. For retrieval, see Generate Access Token
String
Yes
UserId
User identity recognition. When the permission corresponding to the access token is admin permission and the user identity recognition during the application for the access token is empty, it is used to temporarily designate the user identity. For details, see Generate Access Token API.
String
No

Request Body

This request does not have a request body.

Response

Response code

Successfully deleted. Returns HTTP 204 No Content.

Response Body

This request does not have a response body.

Error Codes

This request operation has no special error messages. For common error messages, see Error Codes.

Ajuda e Suporte

Esta página foi útil?

comentários