Description Usage Arguments Details Value References
Access Control Lists (ACLs) control access to buckets and objects. These functions retrieve and modify ACLs for either objects or buckets.
1 2 3 |
object |
Character string with the object key, or an object of class “s3_object”. In most cases, if |
bucket |
Character string with the name of the bucket, or an object of class “s3_bucket”. |
... |
Additional arguments passed to |
acl |
A character string indicating a “canned” access control list. By default all bucket contents and objects therein are given the ACL “private”. This can later be viewed using |
headers |
List of request headers for the REST call |
body |
A character string containing an XML-formatted ACL. |
get_acl
retrieves an XML-formatted ACL for either an object (if specified) or a bucket (if specified).
For get_acl
a character string containing an XML-formatted ACL. For put_acl
: if successful, TRUE
.
API Reference: GET Object ACL API Reference: PUT Object ACL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.