wer delete

Delete one or more resources and tear down any associated infrastructure. Alias: rm.

Usage

wer delete <type> <name> [name ...] [flags]

Description

The delete command removes one or more resources. For workstations, the resource is marked for deletion and the background worker handles the actual VM teardown and cleanup. For other resource types, the deletion is immediate.

You can also use wer rm as a shorthand alias.

Arguments

Argument Description
type The type of resource to delete (workstation, workstationconfig, sshkey)
name One or more resource names to delete

Flags

Flag Description
--force Force delete the resource record without waiting for provider cleanup. May leave orphaned VMs/disks behind
--wait Wait for the resource to be completely removed
--wait-timeout Maximum time to wait (e.g., 30s, 5m). 0 means no timeout

Examples

# Delete a workstation
wer delete workstation my-vm

# Delete using the alias
wer rm workstation my-vm

# Delete multiple workstations
wer delete ws my-vm1 my-vm2 my-vm3

# Delete and wait until completely removed
wer delete workstation my-vm --wait

# Force delete a stuck workstation (bypasses provider cleanup)
wer delete workstation my-vm --force

# Delete a workstation config
wer delete workstationconfig old-config