delete-bucket-metadata-configuration
The delete-bucket-metadata-configuration command deletes the metadata management (Metadata) configuration of a bucket.
Usage notes
Metadata management (Metadata) is in invitational preview. It is not yet available to all users and is available only in regions where Table Bucket is supported. To use this feature, contact technical support to apply. In addition, you can enable, modify, or disable metadata management in the OSS console.
By default, an Alibaba Cloud account has the permissions to delete the metadata configuration of a bucket. To delete the metadata configuration of a bucket by using a RAM user or Security Token Service (STS), you must have the oss:DeleteBucketMetadataTableConfiguration permission. For more information, see Attach a custom policy to a RAM user.
Syntax
ossutil api delete-bucket-metadata-configuration --bucket examplebucket
|
Parameter |
Type |
Description |
|
--bucket |
string |
The name of the target bucket. |
This command requires ossutil 2.4.1 or later. For earlier versions, call the corresponding operation by using the invoke-operation generic command.
For more information about supported global command-line options, see Global command-line options.
Examples
Delete the metadata configuration of a bucket named examplebucket. Sample command:
ossutil api delete-bucket-metadata-configuration --bucket examplebucket