ccloud kafka topic delete


The Confluent Cloud CLI is deprecated and will stop working on May 9, 2022. All ccloud features have been moved to the Confluent CLI. To update to the new CLI, run ccloud update –major. See the Migrate to Confluent CLI v2 for more details.


Delete a Kafka topic.

ccloud kafka topic delete <topic> [flags]


--environment string   Environment ID.
--cluster string       Kafka cluster ID.
--context string       CLI context name.

Global Flags

-h, --help            Show help for this command.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).


Delete the topics my_topic and my_topic_avro. Use this command carefully as data loss can occur.

ccloud kafka topic delete my_topic
ccloud kafka topic delete my_topic_avro

See Also