Object Storage API, Amazon S3-compatible REST: DeleteBucketWebsite
Written by
Updated at May 6, 2026
Deletes a static website hosting configuration for a bucket.
For more information on getting started with the API and the general request format, see How to use the S3 API.
Request
DELETE /{bucket}?website HTTP/2
Path parameters
| Parameter | Description |
|---|---|
bucket |
Bucket name. |
Query parameters
| Parameter | Description |
|---|---|
website |
Required parameter that indicates the type of operation. |
Headers
Use only common headers in your requests.
Response
Headers
Responses can only contain common headers.
Response codes
For a list of possible responses, see Responses.
If there is no hosting configuration, Object Storage will return code 200.