s6.app.r2.delete¶
Delete a single object or all objects under a prefix.
Usage¶
s6 r2 delete <key-or-prefix> [-r|–recursive] [-b BUCKET] [-e ENDPOINT]
Behavior¶
Without
--recursive: deletes exactly one object at<key-or-prefix>.With
--recursiveor when<key-or-prefix>ends with ‘/’: deletes all objects under the prefix.
- s6.app.r2.delete.main() None