v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1497574737.9 KB

Deletes the S3 bucket. All objects (including all object versions and delete markers) in the bucket must be deleted before the bucket itself can be deleted.

Related Resources

delete/{Bucket}

Path parameters

Bucketstring required

Specifies the bucket being deleted.

Headers

x-amz-expected-bucket-ownerstring

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).

Response

Success