REST api is not working for datapath change

7 views
Skip to first unread message

arihant rk

unread,
Jan 19, 2016, 8:03:36 AM1/19/16
to Couchbase

I am using curl to change the datapath and index. it is working for index path change but not for datapath.
couchbase version is : 4.0

below is the command used
curl -u Administrator:password -X POST http://localhost:8091/nodes/self/controller/settings -d data_path=/Database/data -d index_path=/Database/data

also i am not getting any error.

dylan.a...@teamaol.com

unread,
Jul 7, 2016, 1:39:44 PM7/7/16
to Couchbase
For anyone who comes across this, you should use the param "path" instead of "data_path"
Reply all
Reply to author
Forward
0 new messages