pydo.databases.create_kafka_topic()
Generated on 20 Oct 2025
from pydo version
v0.18.0
Description
To create a topic attached to a Kafka cluster, send a POST request to
/v2/databases/$DATABASE_ID/topics.
The result will be a JSON object with a topic key.
Parameters
| Name | Type | Required | Description | Default Value |
|---|---|---|---|---|
database_cluster_uuid |
string | True | A unique identifier for a database cluster. | |
body |
JSON or IO[bytes] | False |
More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.