delete-bucket-logging

更新时间:
复制 MD 格式

Disables access logging for a vector bucket.

Prerequisites

Before you begin, ensure that you have:

  • The oss:DeleteBucketLogging permission

An Alibaba Cloud account has this permission by default. If you use a Resource Access Management (RAM) user or Security Token Service (STS) to run this command, grant the oss:DeleteBucketLogging permission explicitly. For details, see Grant custom access policies to a RAM user.

Syntax

ossutil vectors-api delete-bucket-logging --bucket <bucket-name> [flags]

Parameters

ParameterTypeRequiredDescription
--bucketstringYesThe name of the bucket.

For global flags supported by all ossutil commands, see Supported global command line options.

Example

Disable access logging for examplebucket:

ossutil vectors-api delete-bucket-logging --bucket examplebucket
This command corresponds to the DeleteBucketLogging API operation.