> ## Documentation Index
> Fetch the complete documentation index at: https://www.artie.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a Kafka topic

> Deletes a topic and all of its messages. On a shared cluster only topics in the company's customer namespace (starting with .customer.) can be deleted. On a Managed Kafka cluster any topic but the cluster's own (__ and strimzi.cruisecontrol.*) can, and the cluster must be active (409 otherwise).

`DELETE /kafka-clusters/{uuid}/topics/{topic}`

Deletes a topic and all of its messages. On a shared cluster only topics in the company's customer namespace (starting with `<companyUUID>.customer.`) can be deleted. On a Managed Kafka cluster any topic but the cluster's own (`__` and `strimzi.cruisecontrol.*`) can, and the cluster must be active (409 otherwise).

## Authorization

* `Authorization` (header): API key passed as a Bearer token in the Authorization header.

## Path parameters

* `topic` (string, required)
* `uuid` (string, required)

## Example request

```bash
curl --request DELETE \
  --url https://api.artie.com/kafka-clusters/{uuid}/topics/{topic} \
  --header 'Authorization: Bearer <token>'
```

## Responses

### 204 No Content

### 400 Bad Request

### 404 Not Found

### 409 Conflict

### 500 Internal Server Error

### 502 Bad Gateway