Skip to main content

Delete Topic

DELETE /public/v1/connections/{server}/streams/{topic}

Deletes an existing topic from the specified connection (Kafka cluster).


Request

Path Parameters

ParameterTypeDescriptionRequired
serverstringConnection ID (Kafka cluster name)Yes
topicstringName of the topic to deleteYes

Example Request

curl --location --request DELETE 'https://your-instance.com/public/v1/connections/my-server/streams/my.topic' \
--header 'Authorization: Bearer <your-api-key>'

Response

HTTP Status Code: 200 OK
Response Body: (empty)


Possible Errors

Status CodeDescriptionSolution
400Invalid requestCheck path parameters
401UnauthorizedCheck your API key
404Topic not foundVerify connection ID and topic name