Request Parameter of Setting an 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 |
| Delivered | string | Optional | Whether an object inherits the ACL of its bucket |
Owner and Grants must be used together and they cannot be used with ACL.
Last Article: Response Result of the Request for Obtaining Object Metadata
Next Article: Request Parameter of GET Object acl
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.