# S3 API Extension ## Bucket operations management ### Action to delete bucket (DeleteBucket) Deletes bucket with all objects in it. #### Request Parameters - **Bucket** Specifies the bucket being deleted. #### Errors - **NoSuchEntity** The request was rejected because it referenced a resource entity that does not exist. HTTP Status Code: 404 - **ServiceFailure** The request processing has failed because of an unknown error, exception or failure. HTTP Status Code: 500 #### Example Sample Request ```text DELETE / HTTP/1.1 X-Amz-Force-Delete-Bucket: true Host: data.s3..frostfs-s3-gw.com Date: Wed, 01 Mar 2024 12:00:00 GMT Authorization: authorization string ``` Sample Response ```text HTTP/1.1 204 No Content x-amz-id-2: JuKZqmXuiwFeDQxhD7M8KtsKobSzWA1QEjLbTMTagkKdBX2z7Il/jGhDeJ3j6s80 x-amz-request-id: 32FE2CEB32F5EE25 Date: Wed, 01 Mar 2006 12:00:00 GMT Connection: close Server: AmazonS3 ```