Create bucket
Create a new bucket to organize streams.
bucketpathstringrequiredBucket ID. Must match [a-z0-9_-]{4,64}.
Response
| Status | Meaning |
|---|---|
201 | Bucket created successfully. |
400 | Invalid bucket ID. |
409 | Bucket already exists. |
curl -X PUT http://127.0.0.1:4437/demoWrite 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.