Bucket ACL
GET https://s3.amazonaws.com/{{bucket}}/?acl
This implementation of the GET operation uses the acl subresource to return the access control list (ACL) of a bucket. To use GET to return the ACL of the bucket, you must have READACP access to the bucket. If READACP permission is granted to the anonymous user, you can return the ACL of the bucket without using an authorization header.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
acl | null |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-amz-content-sha256 | string |
RESPONSES
status: OK
"\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cAccessControlPolicy xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"\u003e\n \u003cOwner\u003e\n \u003cID\u003e94aebaef4c4fbbe84a36f076a1adbf6208742d219ac1cecb29939e262efabf56\u003c/ID\u003e\n \u003cDisplayName\u003ekinlane\u003c/DisplayName\u003e\n \u003c/Owner\u003e\n \u003cAccessControlList\u003e\n \u003cGrant\u003e\n \u003cGrantee xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"CanonicalUser\"\u003e\n \u003cID\u003e94aebaef4c4fbbe84a36f076a1adbf6208742d219ac1cecb29939e262efabf56\u003c/ID\u003e\n \u003cDisplayName\u003ekinlane\u003c/DisplayName\u003e\n \u003c/Grantee\u003e\n \u003cPermission\u003eFULL_CONTROL\u003c/Permission\u003e\n \u003c/Grant\u003e\n \u003cGrant\u003e\n \u003cGrantee xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"CanonicalUser\"\u003e\n \u003cID\u003e94aebaef4c4fbbe84a36f076a1adbf6208742d219ac1cecb29939e262efabf56\u003c/ID\u003e\n \u003cDisplayName\u003ekinlane\u003c/DisplayName\u003e\n \u003c/Grantee\u003e\n \u003cPermission\u003eFULL_CONTROL\u003c/Permission\u003e\n \u003c/Grant\u003e\n \u003c/AccessControlList\u003e\n\u003c/AccessControlPolicy\u003e"