Hi,
I am trying to delete a snapshot via swagger/postman but I'm striking out bad. Does any have an example of how to do it?
I am passing this in the body:
and I get this as a response...
Try
{
"actionId": "Cloud.vSphere.Machine.Snapshot.Delete",
"targetId": "6d6de89d-b52e-4c87-b989-9d749a5b2696",
"inputs": {
"snapshotId": "/resources/snapshots/b29454f5-0156-4dbb-b86d-56d8725500ab"
}
}
Try
{
"actionId": "Cloud.vSphere.Machine.Snapshot.Delete",
"targetId": "6d6de89d-b52e-4c87-b989-9d749a5b2696",
"inputs": {
"snapshotId": "/resources/snapshots/b29454f5-0156-4dbb-b86d-56d8725500ab"
}
}
That did it. Alternately, I was able to use the below as well to delete it as it only required a machineID and snapshotId.
/iaas/api/machines/{resourceId}/snapshots/{snapshotId}
Thank you!