tencent cloud

Smart Media Hosting

Delete Recycle Bin Projects in Batches

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 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];


도움말 및 지원

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

피드백