DeleteBucketPolicy method
Written by
Updated at August 2, 2024
Removes the access policy from the specified bucket.
Request
DELETE /{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 appropriate common headers in your requests.
Response
If the request is successful, the service returns a response with code HTTP 204
and an empty body.
Response codes
For a list of possible responses, see Responses.