create-host.md 1.5 KB

Create Host

Back to Resources

Summary

Create a host resource identified by ":hostName" in the cluster identified by ":clusterName".

POST /clusters/:clusterName/hosts/:hostName

Response

HTTP CODE Description
201 Created
202 Accepted
400 Bad Request
401 Unauthorized
403 Forbidden
500 Internal Server Error

Example

Create the host named 'host1' in cluster 'c1'.

POST /clusters/c1/hosts/host1

201 Created