Remove a Kafka topic

Delete a topic and its data. Clients that still use the topic get UNKNOWN_TOPIC_OR_PARTITION. The topic is deleted from the API even when a broker couldn't delete its data.

DELETE https://{availability_zone}.betterstackcloud.com/v1/kafka/{kafka_id}/topics/{id}
kafka_id string required

The ID of the kafka the Kafka topic belongs to.

id string required

The ID of the Kafka topic to remove.

Authorization string required

Bearer $TOKEN

204 No Content

The Kafka topic is deleted. The response has no body.