更新时间:2022-09-13 GMT+08:00
分享

删除对象

以下代码展示如何删除指定的对象:

OBSDeleteObjectRequest *request = [[OBSDeleteObjectRequest alloc] initWithBucketName:@"bucketname" objectKey:@"objectname"];
[client deleteObject:request completionHandler:^(OBSDeleteObjectResponse *response, NSError *error) {
    NSLog(@"%@",response);
}];

相关文档