Updated on 2023-03-16 GMT+08:00

Deleting an Object

Sample code:

DeleteObjectRequest request = new DeleteObjectRequest()
{
    BucketName = "bucketname",
    ObjectKey = "objectname",
};
client.DeleteObject(request);