< Previous | Contents | Next >

Retrieving the ACL for a bucket

You use the HTTP GET method with the acl query parameter to retrieve the ACL for a bucket. To retrieve the ACL for a bucket, you need read ACL permission for the bucket.


The bucket 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 a bucket ACL