Get Bucket ACL
Retrieves the bucket access control list. The user must be the bucket owner or to have been granted READ_ACP permission on the bucket.
GET /?acl HTTP/1.1
Host: Host: {bucket}.{region}.cdn77-storage.com
Response Entities
Name | Description |
---|---|
AccessControlPolicynone | A container for the response. |
AccessControlListnone | A container for the ACL information. |
Ownernone | A container for the bucket owner's ID and DisplayName. |
IDstring | The bucket owner's ID. |
DisplayNamestring | The bucket owner's display name. |
Grantnone | A container for Grantee and Permission. |
Granteenone | A container for the DisplayName and ID of the user receiving a grant of permission. |
Permissionstring | The permission given to the Grantee bucket. |
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<AccessControlPolicy>
<Owner>
<ID>946570e-8532-4f3b-af51-9ak7f650d6c2</ID>
<DisplayName>John Smith</DisplayName>
</Owner>
<AccessControlList>
<Grant>
<Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser">
<ID>946570e-8532-4f3b-af51-9ak7f650d6c2</ID>
<DisplayName>John Smith</DisplayName>
</Grantee>
<Permission>FULL_CONTROL</Permission>
</Grant>
</AccessControlList>
</AccessControlPolicy>
Updated on 19th September, 2024