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.