DeleteBucket

Deletes the S3 bucket.

All objects in the bucket must be deleted before the bucket itself can be deleted.

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

The following operations are related to DeleteBucket:

Request Syntax

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

The request uses the following URI parameters:

  • <BUCKET>: Specifies the bucket 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.