tencent cloud

Smart Media Hosting

Product Introduction
Product Overview
Feature Description
Product Strengths
Use Cases
Basic Concept
Purchase Guide
Quick Start
Create Media Library
Initiate request
Service Level API Document
History
Introduction
API Category
Making API Requests
PaaS Service APIs
Official Cloud Disk APIs
Data Types
Error Codes
Business Level API Document
Introduction
Access Token Operation API
Tenant Space Operation API
File Operation API
Directory or Album Operation API
Recycle Bin Operation API
Quota Operation API
Query Task Operation API
Search Operation API
Historical Version Operations API
Directory and File Batch Operation API
Collection Operation API
Error Codes
SDK Documentation
Android SDK
iOS SDK
HarmonyOS SDK
FAQs
Enterprise Network Disk
Product Introduction
Purchase Guide
Quick Start
FAQs
Service Level Agreement
Glossary

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