v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_Databases

Delete Topic for a Kafka Cluster

To delete a single topic within a Kafka cluster, send a DELETE request to /v2/databases/$DATABASE_ID/topics/$TOPIC_NAME.

A status of 204 will be given. This indicates that the request was processed successfully, but that no response body is needed.

delete/v2/databases/{database_cluster_uuid}/topics/{topic_name}

Path parameters

database_cluster_uuidstring uuid required

A unique identifier for a database cluster.

topic_namestring required

The name used to identify the Kafka topic.

Response

The action was successful and the response body is empty.