delete_object: Delete object

Description Usage Arguments Value See Also Examples

Description

Deletes one objects from an Qingstor bucket.

Usage

1
delete_object(object, bucket, quiet = TRUE, ...)

Arguments

object

Character string with the object key, or an object of class “object”. In most cases, if object is specified as the latter.

bucket

Character string with the name of the bucket.

Value

TRUE if successful, otherwise an object of class Qingstor_error details if not.

See Also

put_object

Examples

1
2
3
4
# delete an object in Qingstor bucket

delete_object(object = 'object_name', bucket = 'bucket_name')
the object_name could be a name under a folder like 'some_folder/object_name'

zhangxing-love/QingStorRSDK_0.1 documentation built on May 4, 2019, 10:17 p.m.