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 Recycle Bin Projects in Batches

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-01-07 10:49:05

Introduction

This document provides an API overview about deleting recycle bin items in batches and SDK example code.
API
Operation Description
Delete Recycle Bin Items

SDK API Reference

For specific parameters and method descriptions of all APIs in the SDK, please see SDK API Reference.

Deleting Recycle Bin Projects in Batches

Feature Description

Delete Recycle Bin items in batches.

Sample Code

QCloudSMHBatchDeleteRecycleObjectReqeust *req = [QCloudSMHBatchDeleteRecycleObjectReqeust new];
// Media Library ID, required parameter
req.libraryId = self.userModel.libraryId;
// Space ID, if the media library is in single-tenant mode, this parameter is fixed as a hyphen (-); if the media library is in multi-tenant mode, you must specify this parameter
req.spaceId = scopeDir.teamInfo.spaceId;
// Recycle bin project ID, required parameter;
req.recycledItemIds = @[@"1",@"2"];
[req setFinishBlock:^(id _Nullable outputObject, NSError *_Nullable error) {

}];
[[QCloudSMHService defaultSMHService] batchDeleteRecycleObject:req];


Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan