tencent cloud

Feedback

Deleting a Bucket - rb

Last updated: 2022-05-09 14:18:32

    The rb command is used to delete a bucket.

    Command Syntax

    ./coscli rb cos://<BucketName-APPID> -r <Region> [flag]
    

    rb includes the following optional flags:

    Flag Abbreviation Flag Name Description
    None BucketName-APPID Specifies the name of the bucket to be deleted, such as examplebucket-1250000000
    -r --region Indicates the region of the bucket
    Note:

    For other common options of this command (such as switching bucket and user account), see Common Options.

    Examples

    // Delete the bucket3 bucket.
    ./coscli rb cos://bucket3-1250000000 -r ap-chengdu
    // Update the configuration file.
    ./coscli config delete -a bucket3
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support