Pavel Pogodaev
51c5c227c2
All checks were successful
/ DCO (pull_request) Successful in 1m11s
/ Vulncheck (pull_request) Successful in 1m22s
/ Builds (1.21) (pull_request) Successful in 1m26s
/ Builds (1.22) (pull_request) Successful in 2m23s
/ Lint (pull_request) Successful in 2m22s
/ Tests (1.21) (pull_request) Successful in 1m23s
/ Tests (1.22) (pull_request) Successful in 1m25s
Signed-off-by: Pavel Pogodaev <p.pogodaev@yadro.com>
52 lines
983 B
Markdown
52 lines
983 B
Markdown
# 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.<Region>.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
|
|
```
|