DeleteBucketPolicy

Deletes the Bucket Policy configuration information set for the bucket.

You must have Full ACL to be able to call this action.

The following operations are related to DeleteBucketPolicy:

Request Syntax

1DELETE /?policy HTTP/1.1
2Host: <BUCKET>.s3.tebi.io

The request uses the following URI parameters:

  • <BUCKET>: Specifies the bucket of the bucket policy configuration being deleted. Required.

The request does not have a request body.

Response Syntax

1HTTP/1.1 204
2Content-Length: 0

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

See Also

Refer here for more information.