delete-bucket-policy

Updated at:

The delete-bucket-policy command deletes the access policy for a specified vector bucket.

Notes

To delete the access policy for a specified bucket, you must have the oss:DeleteBucketPolicy permission. For more information, see Grant custom access policies to Resource Access Management (RAM) users.

Command format

ossutil api delete-bucket-policy --bucket value [flags]

Parameter

Type

Description

--bucket

string

The name of the bucket.

Note

Usage example

The following example shows how to delete the access policy for the vector bucket named vectorexample.

ossutil vectors-api delete-bucket-policy --bucket examplebucket