Deleting XDCR Replications
To delete an XDCR replication, use the
DELETE /controller/cancelXDCRHTTP method and URI.
When a replication is deleted, it stops replication from the source to the destination. If the replication is re-created the between the same source and destination clusters and buckets, XDCR resumes replication.
Replication ID is provided in the form of
It needs to be URL-encoded before it can be used in the delete replication URL.
A URL-encoded endpoint is used which contains the unique document ID that references the replication. The replication can also be deleted via the web console.
Curl request example:
curl -u Administrator:password1 \ http://10.4.2.4:8091/controller/cancelXDCR/ \ 9eee38236f3bf28406920213d93981a3%2Fbeer-sample%2Fremote_beer \ -X DELETE