DeleteBucketPolicy method
Written by
Updated at January 17, 2023
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 necessary common request headers in 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.