Important
You are viewing documentation for an older version of Confluent Platform. For the latest, click here.
ccloud topic delete¶
Description¶
Delete a topic.
Usage¶
ccloud [(--config-dir <configDir> | -c <configDir>)] [(--verbose | -v)]
topic delete [--] <topicName>
Tip
For usage information, enter ccloud help topic delete
.
Options¶
Name, shorthand | Default | Description |
---|---|---|
--config-dir <configDir> , -c <configDir> |
$HOME/.ccloud |
The configuration directory. |
--verbose , -v |
Detailed output of a command. | |
-- |
Use this option to separate command-line options from the list of argument. This is useful when arguments might be mistaken for command-line options |
Positional arguments¶
Name, shorthand | Default | Description |
---|---|---|
<configDir> |
The path to the configuration directory. | |
<topic> |
Name of topic to describe. |
Example¶
Delete the topics my_topic
and my_topic_avro
.
Caution
Use this command carefully as data loss can occur.
ccloud topic delete my_topic
ccloud topic delete my_topic_avro