Object Storage API, Amazon S3-compatible REST: GetBucketWebsite
Written by
Updated at August 20, 2026
Returns the 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
GET /{bucket}?website HTTP/2
Path parameters
|
Parameter |
Description |
|
|
Bucket name |
Query parameters
|
Parameter |
Description |
|
|
Required parameter that indicates the type of operation |
Headings
Use the appropriate common headers in your request.
Response
Headers
Responses can only contain common headers.
Response codes
For a list of possible responses, see Responses.
Data schema
The structure of returned data is the same as the structure of data provided by the upload method.