Create Bucket Replication
Replication rule can be added only if versioning in both buckets are enabled and they do not belong to the same region.
POST
/storage/bucket-replication/Query parameters
project_idQueryintegerrequiredProject ID Find your project id here
locationQuerystringrequiredLocation (Delhi and Chennai)
Request body
application/json
example
first-bucketexample
Delhiexample
second-bucketexample
Chennaiexample
1Responses
200Replication rule created successfully.
example
200example
Success412Precondition failed due to replication rule conflict.
example
412example
add-this-bucket to this-is-another-bucket replication rule already exists.example
Precondition Failed