bucket-delete

bucket-delete

Deletes an existing bucket.

Syntax

The basic syntax is:

couchbase-cli bucket-delete -c [host]:8091 -u [admin] -p [password] [options]

Description

The bucket-delete command deletes an existing bucket. It has only one option: --bucket=[bucket-name].

Options

The following are the command options:

Table 1. bucket-delete options
Option Description
--bucket=BUCKETNAME Named bucket to act on.

Examples

To delete the Test bucket:

couchbase-cli bucket-delete -c 192.168.0.1:8091 -u Administrator -p password \
--bucket=test_bucket