Summary
Create a cluster identified by ":name".
POST /clusters/:name
Response
HTTP CODE | Description |
---|---|
201 | Created |
202 | Accepted |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
500 | Internal Server Error |
Example
Create a cluster named ‘c1’ with the property ‘Clusters/version’ = ‘HDP-1.2.0’.
POST /clusters/c1
{
"Clusters": {
"version" : "HDP-1.2.0”
}
}
201 Created