The start-clone command initiates the cloning process for the instance and assigns a new specified name.

JSON Input Data Format
{
    "clonefrom": string,
    "newname": string
}
clonefrom * Specifies the ID of the instance to be cloned.
newname * Specifies a name for the newly cloned instance.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "Instance was cloned",
    "id": "V7cs-c69af656-xxxx-xxxx-xxxx-7702xxxxdc92"
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}