Cosmic Admin API Reference

deleteHost

Deletes a host.

Request parameters

Parameter NameDescriptionRequired
idthe host IDtrue
forcedForce delete the host. All HA enabled vms running on the host will be put to HA; HA disabled ones will be stoppedfalse
forcedestroylocalstorageForce destroy local storage on this host. All VMs created on this local storage will be destroyedfalse

Response Tags

Response NameDescription
displaytextany text associated with the success or failure
successtrue if operation is executed successfully