POST
/snapshot/{id}:promote
curl \
--request POST 'https://api-ch-gva-2.exoscale.com/v2/snapshot/{id}:promote' \
--header "Content-Type: application/json" \
--data '{"name":"string","description":"string","default-user":"string","ssh-key-enabled":true,"password-enabled":true}'
Request examples
{
"name": "string",
"description": "string",
"default-user": "string",
"ssh-key-enabled": true,
"password-enabled": true
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}