delete-s3-bucket

Deletes an entire S3 bucket This command removes a bucket from Amazon’s S3 service. The login and password for S3 must be set using the --access-key and --secret-key flags, unless defaults have been set in the Virtualmin configuration. The --bucket flag must be given to specify the bucket to be removed. To have files in the bucket removed as well, use the --recursive flag. Command line help virtualmin delete-s3-bucket [--access-key key] [--secret-key key] --bucket name [--recursive]

Deletes an entire S3 bucket#

This command removes a bucket from Amazon’s S3 service. The login and password for S3 must be set using the --access-key and --secret-key flags, unless defaults have been set in the Virtualmin configuration.

The --bucket flag must be given to specify the bucket to be removed. To have files in the bucket removed as well, use the --recursive flag.

Command line help#

virtualmin delete-s3-bucket [--access-key key]
 [--secret-key key]
 --bucket name
 [--recursive]

Source: https://www.virtualmin.com/docs/development/api-programs/delete-s3-bucket/

  • virtualmin, log, command line, delete, bucket
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...