tencent cloud

Smart Media Hosting

Delete Recycle Bin Projects in Batches

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 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];


Ajuda e Suporte

Esta página foi útil?

comentários