Skip to main content

GetObjectAcl for Cloud Storage

GetObjectAcl - Amazon Simple Storage Service

Example GetObjectAcl request

GET /mybucket/myobject?acl=null HTTP/1.1
Host: [region].telnyxstorage.com
x-amz-acl: private
X-Amz-Date: 20230927T175743Z
Authorization: AWS4-HMAC-SHA256 Credential=YOUR_TELNYX_API_KEY/20230927/test/execute-api/aws4_request, SignedHeaders=host;x-amz-acl;x-amz-date, Signature=4edb4e62f2a28e4ff8e6b317fd867b4baf382b3c87b26e2404ea7a766779be4d

Example GetObjectAcl response

<?xml version="1.0" encoding="UTF-8"?>
<AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Owner>
<ID>27784a49-1f14-4209-a58d-27fe905efe58</ID>
<DisplayName>27784a49-1f14-4209-a58d-27fe905efe58</DisplayName>
</Owner>
<AccessControlList>
<Grant>
<Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Group">
<URI>http://acs.amazonaws.com/groups/global/AllUsers</URI>
</Grantee>
<Permission>READ</Permission>
</Grant>
<Grant>
<Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser">
<ID>27784a49-1f14-4209-a58d-27fe905efe58</ID>
<DisplayName>27784a49-1f14-4209-a58d-27fe905efe58</DisplayName>
</Grantee>
<Permission>FULL_CONTROL</Permission>
</Grant>
</AccessControlList>
</AccessControlPolicy>