Removing an ACL

Content Platform Tenant Management Help

Version
9.7.x
File Size
4269 KB
Audience
anonymous
Part Number
MK-95HCPH002-19

You can remove an ACL from a bucket or object by removing all grants from it. To do this by using headers, use the x-amz-acl header with the canned ACL named private, like this:

x-amz-acl: private

To remove an ACL by using an ACL request body, omit all grants from the request the body, like this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
     <AccessControlList>
     </AccessControlList>
</AccessControlPolicy>

Removing an ACL does not remove full control from the bucket or object owner.