Create a new topic within a messaging service
sample_kafka).delete, compact).-1 for unlimited.service.topicName.PUT /v1/topics instead of POST to perform an upsert. If a topic with the same fullyQualifiedName already exists, it will be updated; otherwise, a new topic is created. The request body is the same as POST.
PUT will not return a 409 conflict error if the entity already exists — it will update the existing entity instead.PUT /v1/topics/bulk to create or update multiple topics in a single request. The request body is an array of create request objects.
| Code | Error Type | Description |
|---|---|---|
400 | BAD_REQUEST | Invalid request body or missing required fields |
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to create topics |
409 | ENTITY_ALREADY_EXISTS | Topic with same name already exists in service (POST only) |