Trouble pausing XDCR via REST API (CB 4.1)


#1

I am unable to pause XDCR using the REST API using the example provided here.
(http://developer.couchbase.com/documentation/server/current/rest-api/rest-xdcr-pause-resume.html)

curl -X POST -u username:password http://x.x.x.x:8091/settings/replications -d ‘pauseRequested=true’

This is what I get:
{“checkpointInterval”:1800,“docBatchSizeKb”:2048,“failureRestartInterval”:10,“goMaxProcs”:4,“logLevel”:“Info”,“optimisticReplicationThreshold”:256,“sourceNozzlePerNode”:2,“statsInterval”:1000,“targetNozzlePerNode”:2,“workerBatchSize”:500}