hello i cannot delete a bucket named default on localhost???
curl -u Administrator:xxxxxxx DELETE http://127.0.0.1:8091/pools/default/buckets/default this doesnt work
neithher this
curl -u Administrator:xxxxxx http://127.0.0.1:8091/pools/default/buckets/default
This works for me, try with the -X
curl -X DELETE -u Administrator:password http://127.0.0.1:8091/pools/default/buckets/default
(with HTTP DELETE and this param is also exactly how the SDK does it)
why this is not given in docs?
It is?
http://docs.couchbase.com/admin/admin/REST/rest-bucket-intro.html
no not given.i have checked again
What is wrong with the link I’ve shown you? It tells where and how you can access it, but curl is not something we ship. We can’t include docs for every tool available?
To me it looks like you were just missing the -X properly in curl.