GetBucketLocation

GET https://{{account-id}}.r2.cloudflarestorage.com/{{r2-bucket}}?location

Returns the region the bucket resides in. You set the bucket's region using the LocationConstraint request parameter in a CreateBucket request. For more information, see CreateBucket.

Request Params

KeyDatatypeRequiredDescription
locationnull

HEADERS

KeyDatatypeRequiredDescription
x-amz-content-sha256string