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
-
The delete-bucket-policy command calls the DeleteBucketPolicy API operation. For more information about the API parameters, see DeleteBucketPolicy.
-
For more information, see Supported global command-line options.
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
Is this page helpful?