Revert a snapshot for an instance
This operation reverts the snapshot to the Compute instance volume, restoring stored data as it was at the time of the snapshot. The Compute instance must be previously stopped.
POST /instance/{instance-id}:revert-snapshot
curl \
-X POST https://api-ch-gva-2.exoscale.com/v2/instance/{instance-id}:revert-snapshot \
-H "Content-Type: application/json" \
-d '{"id":"string"}'
Request examples
{
"id": "string"
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}