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
/api/v1/storage/bucket-replication/Query parameters
project_idQueryintegerrequiredProject ID Find your project id here
locationQuerystringrequiredDeployment region for the resource. Accepted values:
Delhi,Chennai.Mumbai region has been discontinued. Delhi and Chennai are the only supported regions.
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