Cant delete bucket


#1

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


#2

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)


#3

why this is not given in docs?


#4

It is?

http://docs.couchbase.com/admin/admin/REST/rest-bucket-intro.html


#5

no not given.i have checked again


#6

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.