Deleting an Object
Sample code:
OBSDeleteObjectRequest *request = [[OBSDeleteObjectRequest alloc] initWithBucketName:@"bucketname" objectKey:@"objectname"];
[client deleteObject:request completionHandler:^(OBSDeleteObjectResponse *response, NSError *error) {
NSLog(@"%@",response);
}]; Last Article: Listing Objects
Next Article: General Examples of OBSClient
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.