< Previous | Contents | Next >

Retrieving the ACL for an object

You use the HTTP GET method with the acl query parameter to retrieve the ACL for an object. To retrieve the ACL for an object, you need read ACL permission for the bucket containing the object or for the object itself.

The object ACL is returned in an XML response body. The format of the response body is the same as the format you use for the ACL request body when you add an ACL to a bucket. For the format of the ACL request body, see “Specifying an ACL in the request body” on page 30.

For an introduction to ACLs, see “Access control lists” on page 25.


Request lineRequest headersResponse headersHTTP status codesExample: Retrieving an object ACL