GetBucketPolicy method
Written by
Updated at January 17, 2023
Returns the access policy for the specified bucket.
Request
GET /{bucket}?policy HTTP/2
Path parameters
Parameter | Description |
---|---|
bucket |
Bucket name. |
Query parameters
Parameter | Description |
---|---|
policy |
Required parameter that indicates the type of operation. |
Headers
Use the necessary common request headers in requests.
Response
Headers
Responses can only contain common response headers.
Data schema
Data is transmitted in JSON format. For more information, see Data schema.
Response codes
For a list of possible responses, see Responses.