Delete a Kafka Cluster

Allows you to delete a Kafka cluster based on its ID.

Endpoint

DELETE /clusters/{clusterId}

The DELETE /clusters/{clusterId} endpoint initiates the deletion of a Kafka cluster identified by its unique UUID (clusterId). Upon successful deletion request, the endpoint returns a 200 Successful operation status code, indicating that the cluster deletion process has been initiated.

This action permanently removes the specified Kafka cluster and all associated resources. Use caution when invoking this endpoint as it cannot be undone.

Use this endpoint to manage and decommission Kafka clusters within your environment, ensuring efficient resource utilization and lifecycle management.

Request

curl -X 'DELETE' \
  'https://kafka.de-txl.ionos.com/clusters/e69b22a5-8fee-56b1-b6fb-4a07e4205ead' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $Token'

The following fields are mandatory to make authenticated requests to the API in the request header:

Header Parameters
Required
Type
Description

Accept

yes

string

Set this to application/json.

Authorization

yes

string

Provide a header value as Bearer followed by your token.

Response

200 Successful operation

The request to delete the cluster was successful.

Last updated