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.
Path parameters
-
instance-id
string(uuid) Required
POST
/instance/{instance-id}:revert-snapshot
curl \
--request POST https://api-ch-gva-2.exoscale.com/v2/instance/{instance-id}:revert-snapshot \
--header "Content-Type: application/json" \
--data '{"id":"string"}'
Request examples
{
"id": "string"
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}