delete-bucket-logging

Updated at:

The delete-bucket-logging command disables the access logging feature for a vector bucket.

Notes

By default, an Alibaba Cloud account has the permission to disable the access logging feature for a bucket. If you use a Resource Access Management (RAM) user or Security Token Service (STS) to disable this feature, you must have the oss:DeleteBucketLogging permission. For more information, see Grant custom access policies to a RAM user.

Command format

ossutil vectors-api delete-bucket-logging --bucket value [flags]

Parameter

Type

Description

--bucket

string

The name of the bucket.

Note

Usage example

This example disables the access logging feature for the bucket named examplebucket.

ossutil vectors-api delete-bucket-logging --bucket examplebucket