objectGetAcl method
Written by
Updated at September 30, 2024
Returns an access control list for an object.
For more information on getting started with the API and the general request format, see How to use the S3 API.
Request
GET /{bucket}/{key}?acl HTTP/2
Path parameters
Parameter | Description |
---|---|
bucket |
Bucket name. |
key |
Object key. |
Query parameters
Parameter | Description |
---|---|
acl |
Required parameter that indicates the type of operation. |
Headers
Use the appropriate common headers in your request.
Response
Headers
Responses can only contain common response headers.
Data schema
The structure of the returned data is described in ACL XML schema.
Response codes
For a list of possible responses, see Responses.