Skip to main content
PUT
/
ds
/
{bucket}
curl -X PUT https://stream.tonbo.dev/ds/demo
bucket
string
required
Bucket ID. Must match [a-z0-9_-]{4,64}.

Response

StatusMeaning
201Bucket created successfully.
400Invalid bucket ID.
409Bucket already exists.
curl -X PUT https://stream.tonbo.dev/ds/demo
Write requests are automatically forwarded to the cluster leader. If the current node is not the leader, you will receive a 307 redirect with a Location header pointing to the leader.