Product Overview
Feature Description
Product Strengths
Use Cases
Basic Concept
API | Operation Description |
Delete catalog or album |
QCloudSMHDeleteObjectRequest *req = [QCloudSMHDeleteObjectRequest new];// Media Library ID, required parameterreq.libraryId = @"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 = @"spaceId";NSMutableArray *batchInfos = [NSMutableArray array];QCloudSMHBatchDeleteInfo *info = [QCloudSMHBatchDeleteInfo new];// Deleted directory, album, or file path;info.path = testDirName;[batchInfos addObject:info];req.batchInfos = [batchInfos copy];[req setFinishBlock:^(QCloudSMHBatchResult *result, NSError *_Nullable error) {}];[[QCloudSMHService defaultSMHService]deleteObject:req];
フィードバック