Request Parameter of PUT Object acl
Type Definition
type SetObjectAclInput struct
Parameter Description
Field |
Type |
Optional or Mandatory |
Description |
---|---|---|---|
Bucket |
string |
Mandatory |
Bucket name |
Key |
string |
Mandatory |
Object name |
VersionId |
string |
Optional |
Object version ID |
ACL |
Optional |
Pre-defined ACL |
|
Owner |
Optional |
Object owner |
|
Grants |
[]Grant |
Optional |
Grantees' ACL information |
![](https://support.huaweicloud.com/intl/en-us/api-obs_go_sdk_api_en/public_sys-resources/note_3.0-en-us.png)
Owner and Grants must be used together and they cannot be used with ACL.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot