Delete a topic by ID or name, with soft/hard delete options
false, the topic is soft-deleted and can be restored.DELETE /v1/topics/name/{fqn} to delete by fully qualified name.
sample_kafka.address_book).PUT /v1/topics/restore to restore a soft-deleted topic.
deleted: true. Hard delete returns no content (204). Restore returns the restored topic object.
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to delete this topic |
404 | NOT_FOUND | Topic with given ID or FQN does not exist |