VMware DeleteVmSnapshot

VMware DeleteVmSnapshot

Certified
Enterprise Edition

Delete a VM snapshot on ESXi

Removes a named snapshot from a VM on a standalone host. Optionally cascades to child snapshots; defaults to keeping children.

yaml
type: io.kestra.plugin.ee.vmware.esxi.DeleteVmSnapshot

Delete a VM snapshot by name

yaml
id: delete_vm_snapshot
namespace: company.team

tasks:
  - id: delete_snapshot
    type: io.kestra.plugin.ee.vmware.esxi.DeleteVmSnapshot
    server: "esxi.mycompany.com"
    username: "{{ secret('VMWARE_ESXI_USERNAME') }}"
    password: "{{ secret('VMWARE_ESXI_PASSWORD') }}"
    vmName: "vm-to-snapshot"
    snapshotName: "daily-backup-2025-07-18"
Properties

Password

Server hostname or IP

FQDN or IP of the vCenter or ESXi endpoint (no scheme or port).

Snapshot name

Username

e.g. Administrator@vsphere.local for vCenter or root for ESXi.

VM name

Reference (ref) of the pluginDefaults to apply to this task.

Default443

Server port

Defaults to 443.

Defaultfalse

Remove child snapshots

Default: false. If true, delete the entire child branch.

Trust store path

Optional path to a PKCS12 trust store containing the CA certificate(s) used to validate the vCenter/ESXi server's TLS certificate. If omitted (or if the path does not exist), the JVM's default trust store (system CA certificates) is used instead. Certificate validation is always enforced; this plugin never disables TLS certificate validation.