Skip to content

vsphereVmDeleteSnapshot

Designate a snapshot as expired and available for garbage collection. The snapshot must be an on-demand snapshot or a snapshot from a virtual machine that is not assigned to an SLA Domain.

Arguments

Argument Type Description
input (required) VsphereVmDeleteSnapshotInput! Input for V1DeleteVmwareSnapshot.

Returns

Void

Sample

mutation VsphereVmDeleteSnapshot($input: VsphereVmDeleteSnapshotInput!) {
  vsphereVmDeleteSnapshot(input: $input)
}
{
  "input": {
    "id": "example-string",
    "location": "V1_DELETE_VMWARE_SNAPSHOT_REQUEST_LOCATION_ALL"
  }
}
{
  "data": {
    "vsphereVmDeleteSnapshot": "example-string"
  }
}