Get Bucket Location
Retrieves the bucket's region. The user must be the bucket owner or have the s3:GetBucketLocation policy.
GET /?location HTTP/1.1
Host: {bucket}.{region}.cdn77-storage.com
Response Entities
LocationConstraint | Description |
---|---|
Namestring | The region where bucket resides, empty string for default region. |
Example response
<?xml version="1.0" encoding="UTF-8"?>
<LocationConstraint>us-1</LocationConstraint>
Updated on 10th September, 2024
Table of content