delete-bucket-logging
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. |
-
The delete-bucket-logging command corresponds to the DeleteBucketLogging API operation. For more information about the parameters of the API operation, see DeleteBucketLogging.
-
For more information, see Supported global command line options.
Usage example
This example disables the access logging feature for the bucket named examplebucket.
ossutil vectors-api delete-bucket-logging --bucket examplebucket