Sets or modifies the access control list (ACL) of a bucket.
Syntax
ossutil api put-bucket-acl --bucket value --acl value [flags]
|
Parameter |
Type |
Description |
|
--bucket |
string |
The bucket name. |
|
--acl |
string |
The bucket ACL. Valid values:
|
Examples
Set the ACL of examplebucket to private:
ossutil api put-bucket-acl --bucket examplebucket --acl private
该文章对您有帮助吗?