Deleting XDCR replications
To delete an XDCR replication, use the DELETE /controller/cancelXDCR HTTP 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.
HTTP method and URI
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 admin:password1 \ http://10.4.2.4:8091/controller/cancelXDCR/9eee38236f3bf28406920213d93981a3%2Fbeer-sample%2Fremote_beer -X DELETE