Skip to content

Commit 68dc9b6

Browse files
committed
docs: update Create response to 204 No Content (mr2rs PR #2932)
1 parent bae1f70 commit 68dc9b6

1 file changed

Lines changed: 2 additions & 22 deletions

File tree

docs/valkey/http-api.md

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -88,29 +88,9 @@ Creates a new Valkey Cluster with the specified configuration.
8888

8989
#### Success
9090

91-
*Status Code: 201 Created*
92-
93-
```json
94-
{
95-
"name": "my-cluster",
96-
"node_instance_type": "cache.m6g.large",
97-
"shard_count": 0,
98-
"replication_factor": 0,
99-
"enforce_shard_multi_az": true,
100-
"shard_placements": [],
101-
"status": "Creating"
102-
}
103-
```
91+
*Status Code: 204 No Content*
10492

105-
| Field | Type | Description |
106-
|-------|------|-------------|
107-
| name | String | The name of the cluster. |
108-
| node_instance_type | String | The instance type for cluster nodes. |
109-
| shard_count | Integer | The number of shards. |
110-
| replication_factor | Integer | The number of replicas per shard. |
111-
| enforce_shard_multi_az | Boolean | Whether multi-AZ placement is enforced. |
112-
| shard_placements | Array | The placement configuration for each shard. |
113-
| status | String | The cluster status: `Creating`, `CreationFailed`, `Active`, `Updating`, or `Deleting`. |
93+
- The cluster creation has been accepted and is being processed asynchronously. Use the [Describe Cluster](#describe-cluster) endpoint to poll until the cluster status is `Active`.
11494

11595
#### Error
11696

0 commit comments

Comments
 (0)