Users can useOperations: getto check the status of the operation.
Required permissions
You must have thestorage.buckets.relocateIAM permission on the bucket to initiate the dry run or the incremental data copy step.
You might also need the following permissions on the bucket:
storage.bucketOperations.get You need this permission to view the status of the bucket relocation operation.
storage.bucketOperations.list You need this permission to view the list of bucket relocation operations.
storage.bucketOperations.cancel You need this permission to cancel the bucket relocation operation.
storage.bucket.get You need this permission to view the metadata of a bucket during thedry runand theincremental data copystep of the bucket relocation operation.
storage.objects.listandstorage.objects.get You need these permissions to view the list of objects in a bucket that you want to relocate to another location.
Request
HTTP request
POST https://storage.googleapis.com/storage/v1/b/bucket/relocate
The list of configurable dual-region locations where you want to relocate the bucket.
Writable
validateOnly
boolean
When set totrue, thedry runof the bucket relocation operation starts.
Writable
Response
Initiating a bucket relocation process starts a long-running operation.
You'll receive an operation ID and a description of the operation. To track the completion of
the bucket relocation operation, you'll need to track its progress.
For information about how to track the progress
of the bucket relocation operation, seeGet details of a long-running operation.
For information about status and error codes returned by this API, see thereference page.
Try it!
Use the APIs Explorer below to call this method on live data and see the response.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-24 UTC."],[],[]]