Delete a Kafka Topic
Allows you to delete a specific Kafka topic from a specified Kafka cluster.
Endpoint
DELETE /clusters/{clusterId}/topics/{topicId}
The DELETE /clusters/{clusterId}/topics/{topicId}
endpoint deletes the Kafka topic specified by topicId
from the Kafka cluster identified by clusterId
. Upon successful deletion request, the endpoint returns a 202 Accepted
status code, indicating that the topic deletion process has been initiated.
Use this endpoint carefully as it permanently removes the Kafka topic and its associated data. Ensure appropriate permissions and safeguards are in place before executing this operation.
Request
To make authenticated requests to the API, the following fields are mandatory in the request header:
Accept
yes
string
Set this to application/json
.
Authorization
yes
string
Provide a header value as Bearer
followed by your token
.
Response
202 Accepted
The request to delete the topic was successful.
Last updated