This operation re-installs a Compute instance to a base template. If target template is provided it will be used to recreated instance from. Warning: the operation wipes all data stored on the disk.
PUT
/instance/{id}:reset
curl \
--request PUT 'https://api-ch-gva-2.exoscale.com/v2/instance/{id}:reset' \
--header "Content-Type: application/json" \
--data '{"template":{"id":"string"},"disk-size":42}'
Request examples
{
"template": {
"id": "string"
},
"disk-size": 42
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}