Skip to content

Alias reference

The 347 built-in aliases, read from the catalog in the code this site was built from. How to use them is on the Aliases page; cv4pve-cli alias list -v prints the names, descriptions and API calls in the terminal, together with your own aliases.

  • Arguments are given in order after the alias name. or --guest marks the aliases that take --guest <id|name> in place of the node, the type and the VM ID.
  • --yes under the name marks the aliases that run only with --yes.
  • API call is what the alias runs, as you would write it after cv4pve-cli api.

Reads a list or a status, plus top.

AliasArgumentsDescriptionAPI call
topShow all cluster resources (quick overview)get /cluster/resources
AliasArgumentsDescriptionAPI call
get ceph flagsList global Ceph flags (noout, norebalance, ...)get /cluster/ceph/flags
get ceph statusCluster-wide Ceph statusget /cluster/ceph/status
get cluster backup volumes<id>List volumes included in a specific backup jobget /cluster/backup/{id}/included_volumes
get cluster backup-jobsList all scheduled backup jobsget /cluster/backup
get cluster corosync nodesList the nodes in the corosync configurationget /cluster/config/nodes
get cluster firewallList cluster-wide firewall rulesget /cluster/firewall/rules
get cluster firewall aliasesList the cluster firewall aliases (named addresses)get /cluster/firewall/aliases
get cluster firewall groupsList the firewall security groupsget /cluster/firewall/groups
get cluster firewall ipsetsList the cluster firewall IPSetsget /cluster/firewall/ipset
get cluster firewall optionsShow cluster firewall optionsget /cluster/firewall/options
get cluster haShow HA manager statusget /cluster/ha/status/current
get cluster ha groupsList all HA groupsget /cluster/ha/groups
get cluster ha manager-statusShow full HA manager status including LRMget /cluster/ha/status/manager_status
get cluster ha resourcesList all HA resourcesget /cluster/ha/resources
get cluster logShow recent cluster-wide logsget /cluster/log
get cluster mappings pciList all PCI hardware mappingsget /cluster/mapping/pci
get cluster mappings usbList all USB hardware mappingsget /cluster/mapping/usb
get cluster metrics-serversList all configured metric server targetsget /cluster/metrics/server
get cluster nextidGet the next free VM/CT ID in the clusterget /cluster/nextid
get cluster not-backed-upList all guests not covered by any backup jobget /cluster/backup-info/not-backed-up
get cluster notification-endpointsList all configured notification endpointsget /cluster/notifications/endpoints
get cluster notification-matchersList all notification matchersget /cluster/notifications/matchers
get cluster notification-targetsList all available notification targetsget /cluster/notifications/targets
get cluster optionsShow cluster-wide optionsget /cluster/options
get cluster qdeviceShow the status of the corosync QDeviceget /cluster/config/qdevice
get cluster replications<node>List the replication jobs of a nodeget /nodes/{node}/replication
get cluster replications allList all replication jobs (cluster-wide)get /cluster/replication
get cluster schedule-analyze<schedule>Show when a schedule expression will trigger nextget /cluster/jobs/schedule-analyze --schedule {schedule}
get cluster sdn controllersList all SDN controllersget /cluster/sdn/controllers
get cluster sdn vnetsList all SDN virtual networksget /cluster/sdn/vnets
get cluster sdn zonesList all SDN zonesget /cluster/sdn/zones
get cluster statusShow health and quorum status of the clusterget /cluster/status
get cluster tasksShow all active tasks in the clusterget /cluster/tasks
get ct firewall<node> <vmid>
or --guest
List firewall rules for a containerget /nodes/{node}/lxc/{vmid}/firewall/rules
get ct firewall log<node> <vmid>
or --guest
Show the firewall log of a containerget /nodes/{node}/lxc/{vmid}/firewall/log
get ct firewall options<node> <vmid>
or --guest
Show firewall options for a containerget /nodes/{node}/lxc/{vmid}/firewall/options
get ct interfaces<node> <vmid>
or --guest
Show runtime network interfaces of a running container (via guest agent)get /nodes/{node}/lxc/{vmid}/interfaces
get ct pending<node> <vmid>
or --guest
Show CT configuration including pending (unapplied) changesget /nodes/{node}/lxc/{vmid}/pending
get ct rrddata<node> <vmid> <hour|day|week|month|year>
or --guest
Show performance history of a container (RRD)get /nodes/{node}/lxc/{vmid}/rrddata --timeframe {hour|day|week|month|year}
get ct snapshots<node> <vmid>
or --guest
List container snapshotsget /nodes/{node}/lxc/{vmid}/snapshot
get ct status<node> <vmid>
or --guest
Show container runtime statusget /nodes/{node}/lxc/{vmid}/status/current
get ct templates<node> <storage>List CT templates on storageget /nodes/{node}/storage/{storage}/content --content vztmpl
get guest backup config<node> <volume>Extract VM/CT configuration from a vzdump backup archiveget /nodes/{node}/vzdump/extractconfig --volume {volume}
get guest backups<node> <storage> <vmid>List all backups for a guest on a storageget /nodes/{node}/storage/{storage}/content --content backup --vmid {vmid}
get guest feature<node> <vmtype> <vmid> <feature>
or --guest
Check if a feature is available for a guest (VM or CT)get /nodes/{node}/{vmtype}/{vmid}/feature --feature {feature}
get guest firewall<node> <vmtype> <vmid>
or --guest
List firewall rules for a guest (VM or CT)get /nodes/{node}/{vmtype}/{vmid}/firewall/rules
get guest firewall log<node> <vmtype> <vmid>
or --guest
Show the firewall log of a guest (VM or CT)get /nodes/{node}/{vmtype}/{vmid}/firewall/log
get guest firewall options<node> <vmtype> <vmid>
or --guest
Show firewall options for a guest (VM or CT)get /nodes/{node}/{vmtype}/{vmid}/firewall/options
get guest pending<node> <vmtype> <vmid>
or --guest
Show guest configuration including pending (unapplied) changesget /nodes/{node}/{vmtype}/{vmid}/pending
get guest rrddata<node> <vmtype> <vmid> <hour|day|week|month|year>
or --guest
Show performance history of a guest (RRD, VM or CT)get /nodes/{node}/{vmtype}/{vmid}/rrddata --timeframe {hour|day|week|month|year}
get guest snapshots<node> <vmtype> <vmid>
or --guest
List snapshots for a guest (VM or CT)get /nodes/{node}/{vmtype}/{vmid}/snapshot
get guest status<node> <vmtype> <vmid>
or --guest
Show guest runtime status (VM or CT)get /nodes/{node}/{vmtype}/{vmid}/status/current
get guestsList all VMs and containers (cluster-wide)get /cluster/resources --type vm
get node apt changelog<node> <package>Show changelog of a package available on a nodeget /nodes/{node}/apt/changelog --name {package}
get node apt repos<node>Show APT repository configuration on a nodeget /nodes/{node}/apt/repositories
get node backup defaults<node>Show the currently configured vzdump default settingsget /nodes/{node}/vzdump/defaults
get node backups<node> <storage>List backup files on a storageget /nodes/{node}/storage/{storage}/content --content backup
get node ceph config<node>Show the Ceph configuration fileget /nodes/{node}/ceph/cfg/raw
get node ceph fs<node>List CephFS filesystems on a nodeget /nodes/{node}/ceph/fs
get node ceph mgrs<node>List Ceph managers on a nodeget /nodes/{node}/ceph/mgr
get node ceph mons<node>List Ceph monitors on a nodeget /nodes/{node}/ceph/mon
get node ceph osds<node>List Ceph OSDs (tree) on a nodeget /nodes/{node}/ceph/osd
get node ceph pools<node>List Ceph pools on a nodeget /nodes/{node}/ceph/pool
get node ceph status<node>Ceph status as seen from a specific nodeget /nodes/{node}/ceph/status
get node certificates<node>List certificates on a nodeget /nodes/{node}/certificates/info
get node config<node>Show node configuration (NTP, DNS, notify, etc.)get /nodes/{node}/config
get node cpu-models<node>List available CPU models on a nodeget /nodes/{node}/capabilities/qemu/cpu
get node disk lvm<node>List LVM volume groupsget /nodes/{node}/disks/lvm
get node disk smart<node> <disk>Show S.M.A.R.T. status for a diskget /nodes/{node}/disks/smart --disk {disk}
get node disk zfs<node>List ZFS pools on a nodeget /nodes/{node}/disks/zfs
get node disks<node>List physical disks on a nodeget /nodes/{node}/disks/list
get node dns<node>Show DNS settings for a nodeget /nodes/{node}/dns
get node firewall<node>List firewall rules for a nodeget /nodes/{node}/firewall/rules
get node firewall log<node>Show firewall log for a nodeget /nodes/{node}/firewall/log
get node firewall options<node>Show firewall options for a nodeget /nodes/{node}/firewall/options
get node hardware pci<node>List local PCI devices on a nodeget /nodes/{node}/hardware/pci
get node hardware usb<node>List local USB devices on a nodeget /nodes/{node}/hardware/usb
get node hosts<node>Show /etc/hosts content of a nodeget /nodes/{node}/hosts
get node iso<node> <storage>List ISO images on storageget /nodes/{node}/storage/{storage}/content --content iso
get node journal<node>Read the systemd journal of a nodeget /nodes/{node}/journal
get node machine-types<node>List available QEMU machine types on a nodeget /nodes/{node}/capabilities/qemu/machines
get node netstat<node>Show network statistics for a nodeget /nodes/{node}/netstat
get node network<node>List network interfaces on a nodeget /nodes/{node}/network
get node packages<node>List available package updates on a nodeget /nodes/{node}/apt/update
get node prune-info<node> <storage>Preview which backups would be removed by a prune operationget /nodes/{node}/storage/{storage}/prunebackups
get node replication log<node> <id>Show log of a replication job on a specific nodeget /nodes/{node}/replication/{id}/log
get node replication status<node> <id>Show status of a replication job on a specific nodeget /nodes/{node}/replication/{id}/status
get node report<node>Generate a full diagnostic report for a nodeget /nodes/{node}/report
get node rrddata<node> <hour|day|week|month|year>Show node performance data (RRD)get /nodes/{node}/rrddata --timeframe {hour|day|week|month|year}
get node scan cifs<node> <server>Scan a remote host for CIFS/SMB shares accessible from a nodeget /nodes/{node}/scan/cifs --server {server}
get node scan iscsi<node> <portal>Scan for iSCSI targets accessible from a nodeget /nodes/{node}/scan/iscsi --portal {portal}
get node scan lvm<node>List LVM volume groups accessible from a nodeget /nodes/{node}/scan/lvm
get node scan nfs<node> <server>Scan a remote host for NFS shares accessible from a nodeget /nodes/{node}/scan/nfs --server {server}
get node scan pbs<node> <server> <username>Scan a Proxmox Backup Server accessible from a node (also needs --password)get /nodes/{node}/scan/pbs --server {server} --username {username}
get node scan zfs<node>Scan for ZFS pools accessible from a nodeget /nodes/{node}/scan/zfs
get node services<node>List all services on a nodeget /nodes/{node}/services
get node storage rrddata<node> <storage> <hour|day|week|month|year>Show storage usage history (RRD)get /nodes/{node}/storage/{storage}/rrddata --timeframe {hour|day|week|month|year}
get node storages<node>List storages available on a nodeget /nodes/{node}/storage
get node subscription<node>Show subscription status of a nodeget /nodes/{node}/subscription
get node syslog<node>Read the system log (syslog) of a nodeget /nodes/{node}/syslog
get node tasks<node>List recent tasks on nodeget /nodes/{node}/tasks
get node time<node>Show current time and timezone of a nodeget /nodes/{node}/time
get node version<node>Show PVE version installed on a nodeget /nodes/{node}/version
get node versions<node>Show the versions of the Proxmox VE packages (like pveversion -v)get /nodes/{node}/apt/versions
get nodesList all nodesget /nodes
get poolsList all resource poolsget /pools
get resourcesList all cluster resourcesget /cluster/resources
get security aclsList all access control rulesget /access/acl
get security domainsList all authentication domains/realmsget /access/domains
get security groupsList all user groupsget /access/groups
get security privilegesList all available privileges in the systemget /access/permissions
get security rolesList all defined roles and their privilegesget /access/roles
get security tfaList TFA configurations for all usersget /access/tfa
get security tokens<userid>List all API tokens for a userget /access/users/{userid}/token
get security user tfa<userid>List TFA entries for a specific userget /access/tfa/{userid}
get security usersList all users and their statusget /access/users
get storagesList all storages (cluster-wide)get /cluster/resources --type storage
get storages configList all configured storages (cluster-wide config)get /storage
get versionShow API versionget /version
get vm agent exec-status<node> <vmid> <pid>
or --guest
Get the result/status of a command executed via guest agentget /nodes/{node}/qemu/{vmid}/agent/exec-status --pid {pid}
get vm agent fsinfo<node> <vmid>
or --guest
Show filesystem info of the guest via QEMU guest agentget /nodes/{node}/qemu/{vmid}/agent/get-fsinfo
get vm agent hostname<node> <vmid>
or --guest
Show hostname of the guest OS via QEMU guest agentget /nodes/{node}/qemu/{vmid}/agent/get-host-name
get vm agent info<node> <vmid>
or --guest
Show guest OS info via QEMU guest agentget /nodes/{node}/qemu/{vmid}/agent/info
get vm agent memory<node> <vmid>
or --guest
Show memory blocks info of the guest via QEMU guest agentget /nodes/{node}/qemu/{vmid}/agent/get-memory-blocks
get vm agent network<node> <vmid>
or --guest
Show guest network interfaces via QEMU guest agentget /nodes/{node}/qemu/{vmid}/agent/network-get-interfaces
get vm agent osinfo<node> <vmid>
or --guest
Show guest OS information via QEMU guest agentget /nodes/{node}/qemu/{vmid}/agent/get-osinfo
get vm agent time<node> <vmid>
or --guest
Show system time of the guest via QEMU guest agentget /nodes/{node}/qemu/{vmid}/agent/get-time
get vm agent timezone<node> <vmid>
or --guest
Show timezone of the guest OS via QEMU guest agentget /nodes/{node}/qemu/{vmid}/agent/get-timezone
get vm agent users<node> <vmid>
or --guest
List users logged into the guest via QEMU guest agentget /nodes/{node}/qemu/{vmid}/agent/get-users
get vm agent vcpus<node> <vmid>
or --guest
Show virtual CPU info of the guest via QEMU guest agentget /nodes/{node}/qemu/{vmid}/agent/get-vcpus
get vm cloudinit<node> <vmid> <user|network|meta>
or --guest
Dump the cloud-init configuration for a VM (user/network/meta)get /nodes/{node}/qemu/{vmid}/cloudinit/dump --type {user|network|meta}
get vm firewall<node> <vmid>
or --guest
List firewall rules for a VMget /nodes/{node}/qemu/{vmid}/firewall/rules
get vm firewall log<node> <vmid>
or --guest
Show the firewall log of a VMget /nodes/{node}/qemu/{vmid}/firewall/log
get vm firewall options<node> <vmid>
or --guest
Show firewall options for a VMget /nodes/{node}/qemu/{vmid}/firewall/options
get vm migrate-check<node> <vmid>
or --guest
Check whether a VM can migrate: local disks and resources, allowed nodesget /nodes/{node}/qemu/{vmid}/migrate
get vm pending<node> <vmid>
or --guest
Show VM configuration including pending (unapplied) changesget /nodes/{node}/qemu/{vmid}/pending
get vm rrddata<node> <vmid> <hour|day|week|month|year>
or --guest
Show performance history of a VM (RRD)get /nodes/{node}/qemu/{vmid}/rrddata --timeframe {hour|day|week|month|year}
get vm snapshots<node> <vmid>
or --guest
List VM snapshotsget /nodes/{node}/qemu/{vmid}/snapshot
get vm status<node> <vmid>
or --guest
Show VM runtime statusget /nodes/{node}/qemu/{vmid}/status/current
get vmsList all VMs and containers (cluster-wide), same as get guestsget /cluster/resources --type vm

Reads the details of one object.

AliasArgumentsDescriptionAPI call
show cluster backup-job<id>Show details of a specific backup jobget /cluster/backup/{id}
show cluster firewall ipset<name>List the addresses of a cluster firewall IPSetget /cluster/firewall/ipset/{name}
show cluster firewall-rule<pos>Show details of a specific cluster firewall ruleget /cluster/firewall/rules/{pos}
show cluster ha group<group>Show configuration of a specific HA groupget /cluster/ha/groups/{group}
show cluster ha resource<sid>Show configuration of a specific HA resourceget /cluster/ha/resources/{sid}
show cluster mapping pci<id>Show a specific PCI hardware mappingget /cluster/mapping/pci/{id}
show cluster mapping usb<id>Show a specific USB hardware mappingget /cluster/mapping/usb/{id}
show cluster metrics-server<id>Show configuration of a specific metric serverget /cluster/metrics/server/{id}
show cluster replication<node> <id>Show status of a specific replication jobget /nodes/{node}/replication/{id}
show cluster sdn vnet<vnet>Show configuration of a specific SDN vnetget /cluster/sdn/vnets/{vnet}
show cluster sdn zone<zone>Show configuration of a specific SDN zoneget /cluster/sdn/zones/{zone}
show ct<node> <vmid>
or --guest
Show container configget /nodes/{node}/lxc/{vmid}/config
show ct firewall-rule<node> <vmid> <pos>
or --guest
Show details of a specific CT firewall ruleget /nodes/{node}/lxc/{vmid}/firewall/rules/{pos}
show ct snapshot<node> <vmid> <snapname>
or --guest
Show configuration of a specific container snapshotget /nodes/{node}/lxc/{vmid}/snapshot/{snapname}/config
show guest<node> <vmtype> <vmid>
or --guest
Show guest config (VM or CT)get /nodes/{node}/{vmtype}/{vmid}/config
show guest backup<node> <storage> <volume>Show details of a specific backup fileget /nodes/{node}/storage/{storage}/content/{volume}
show guest firewall-rule<node> <vmtype> <vmid> <pos>
or --guest
Show details of a specific guest firewall ruleget /nodes/{node}/{vmtype}/{vmid}/firewall/rules/{pos}
show guest snapshot<node> <vmtype> <vmid> <snapname>
or --guest
Show configuration of a specific guest snapshotget /nodes/{node}/{vmtype}/{vmid}/snapshot/{snapname}/config
show node<node>Show node statusget /nodes/{node}/status
show node disk zfs<node> <name>Show detailed status of a ZFS poolget /nodes/{node}/disks/zfs/{name}
show node firewall-rule<node> <pos>Show details of a specific node firewall ruleget /nodes/{node}/firewall/rules/{pos}
show node service<node> <service>Show the state of a service on a nodeget /nodes/{node}/services/{service}/state
show node storage<node> <storage>Show configuration of a specific storage on a nodeget /nodes/{node}/storage/{storage}
show node task<node> <upid>Show log of a specific taskget /nodes/{node}/tasks/{upid}/log
show node task status<node> <upid>Show status of a specific task on a nodeget /nodes/{node}/tasks/{upid}/status
show pool<poolid>Show details of a specific poolget /pools/{poolid}
show security domain<realm>Show configuration of an authentication domainget /access/domains/{realm}
show security group<groupid>Show details of a groupget /access/groups/{groupid}
show security role<roleid>Show privileges assigned to a specific roleget /access/roles/{roleid}
show security token<userid> <tokenid>Show details of a specific API tokenget /access/users/{userid}/token/{tokenid}
show security user<userid>Show details of a specific userget /access/users/{userid}
show storage<node> <storage>Show storage status/usageget /nodes/{node}/storage/{storage}/status
show storage config<storage>Show configuration of a specific storageget /storage/{storage}
show vm<node> <vmid>
or --guest
Show VM configget /nodes/{node}/qemu/{vmid}/config
show vm firewall-rule<node> <vmid> <pos>
or --guest
Show details of a specific VM firewall ruleget /nodes/{node}/qemu/{vmid}/firewall/rules/{pos}
show vm snapshot<node> <vmid> <snapname>
or --guest
Show configuration of a specific VM snapshotget /nodes/{node}/qemu/{vmid}/snapshot/{snapname}/config

Runs an action.

AliasArgumentsDescriptionAPI call
do apply cluster sdn
--yes
Apply the pending SDN changes and reload the network on every nodeset /cluster/sdn
do backup guest<node> <vmid> <storage>Start a backup job immediately for a VM or CTcreate /nodes/{node}/vzdump --vmid {vmid} --storage {storage}
do clone ct<node> <vmid> <newid> <name>
or --guest
Clone a containercreate /nodes/{node}/lxc/{vmid}/clone --newid {newid} --hostname {name}
do clone vm<node> <vmid> <newid> <name>
or --guest
Clone a VMcreate /nodes/{node}/qemu/{vmid}/clone --newid {newid} --name {name}
do download storage<node> <storage> <url> <filename> <iso|vztmpl>Download an ISO, template or image from a URL to a storagecreate /nodes/{node}/storage/{storage}/download-url --url {url} --filename {filename} --content {iso|vztmpl}
do exec vm agent<node> <vmid> <command>
or --guest
Execute a command inside the VM via QEMU guest agentcreate /nodes/{node}/qemu/{vmid}/agent/exec --command {command}
do migrate cluster ha resource<sid> <node>Request online migration of a HA resource to another nodecreate /cluster/ha/resources/{sid}/migrate --node {node}
do migrate ct<node> <vmid> <target_node>
or --guest
Migrate a container to another nodecreate /nodes/{node}/lxc/{vmid}/migrate --target {target_node}
do migrate guest<node> <vmtype> <vmid> <target_node>
or --guest
Migrate a guest to another node (VM or CT)create /nodes/{node}/{vmtype}/{vmid}/migrate --target {target_node}
do migrate vm<node> <vmid> <target_node>
or --guest
Live migrate a VM to another nodecreate /nodes/{node}/qemu/{vmid}/migrate --target {target_node}
do migrateall node
--yes
<node> <target_node>Migrate all guests from a node to other nodescreate /nodes/{node}/migrateall --target {target_node}
do monitor vm<node> <vmid> <command>
or --guest
Execute a QEMU monitor (HMP) command on a VMcreate /nodes/{node}/qemu/{vmid}/monitor --command {command}
do move ct disk<node> <vmid> <disk> <storage>
or --guest
Move a CT volume to a different storagecreate /nodes/{node}/lxc/{vmid}/move_volume --volume {disk} --storage {storage}
do move vm disk<node> <vmid> <disk> <storage>
or --guest
Move a VM disk to a different storagecreate /nodes/{node}/qemu/{vmid}/move_disk --disk {disk} --storage {storage}
do prune node backups
--yes
<node> <storage>Prune old backups on a storage according to retention settingsdelete /nodes/{node}/storage/{storage}/prunebackups
do reboot ct
--yes
<node> <vmid>
or --guest
Reboot a containercreate /nodes/{node}/lxc/{vmid}/status/reboot
do reboot guest
--yes
<node> <vmtype> <vmid>
or --guest
Reboot a guest (VM or CT)create /nodes/{node}/{vmtype}/{vmid}/status/reboot
do reboot node
--yes
<node>Reboot a nodecreate /nodes/{node}/status --command reboot
do reboot vm
--yes
<node> <vmid>
or --guest
Reboot a VMcreate /nodes/{node}/qemu/{vmid}/status/reboot
do reload node service<node> <service>Reload a service on a node (restart if it cannot reload)create /nodes/{node}/services/{service}/reload
do relocate cluster ha resource<sid> <node>Relocate a HA resource to another node (stop and restart)create /cluster/ha/resources/{sid}/relocate --node {node}
do renew node certificate<node>Renew the ACME certificate of a nodeset /nodes/{node}/certificates/acme/certificate
do reset vm
--yes
<node> <vmid>
or --guest
Reset a VMcreate /nodes/{node}/qemu/{vmid}/status/reset
do resize ct disk<node> <vmid> <disk> <size>
or --guest
Expand a CT diskset /nodes/{node}/lxc/{vmid}/resize --disk {disk} --size {size}
do resize guest disk<node> <vmtype> <vmid> <disk> <size>
or --guest
Expand a guest disk (VM or CT)set /nodes/{node}/{vmtype}/{vmid}/resize --disk {disk} --size {size}
do resize vm disk<node> <vmid> <disk> <size>
or --guest
Expand a VM diskset /nodes/{node}/qemu/{vmid}/resize --disk {disk} --size {size}
do restart node service<node> <service>Restart a service on a nodecreate /nodes/{node}/services/{service}/restart
do restore ct
--yes
<node> <vmid> <volume>Restore a container from a vzdump backup archive (creates/overwrites the target vmid)create /nodes/{node}/lxc --vmid {vmid} --ostemplate {volume} --restore 1
do restore vm
--yes
<node> <vmid> <volume>Restore a VM from a vzdump backup archive (creates/overwrites the target vmid)create /nodes/{node}/qemu --vmid {vmid} --archive {volume}
do resume ct<node> <vmid>
or --guest
Resume a suspended containercreate /nodes/{node}/lxc/{vmid}/status/resume
do resume guest<node> <vmtype> <vmid>
or --guest
Resume a suspended guest (VM or CT)create /nodes/{node}/{vmtype}/{vmid}/status/resume
do resume vm<node> <vmid>
or --guest
Resume a suspended VMcreate /nodes/{node}/qemu/{vmid}/status/resume
do rollback ct
--yes
<node> <vmid> <snapname>
or --guest
Rollback container state to a specific snapshotcreate /nodes/{node}/lxc/{vmid}/snapshot/{snapname}/rollback
do rollback guest
--yes
<node> <vmtype> <vmid> <snapname>
or --guest
Rollback guest state to a specific snapshot (VM or CT)create /nodes/{node}/{vmtype}/{vmid}/snapshot/{snapname}/rollback
do rollback vm
--yes
<node> <vmid> <snapname>
or --guest
Rollback VM state to a specific snapshotcreate /nodes/{node}/qemu/{vmid}/snapshot/{snapname}/rollback
do shutdown ct
--yes
<node> <vmid>
or --guest
Shutdown a containercreate /nodes/{node}/lxc/{vmid}/status/shutdown
do shutdown guest
--yes
<node> <vmtype> <vmid>
or --guest
Shutdown a guest (VM or CT)create /nodes/{node}/{vmtype}/{vmid}/status/shutdown
do shutdown node
--yes
<node>Shutdown a nodecreate /nodes/{node}/status --command shutdown
do shutdown vm
--yes
<node> <vmid>
or --guest
Shutdown a VMcreate /nodes/{node}/qemu/{vmid}/status/shutdown
do start ct<node> <vmid>
or --guest
Start a containercreate /nodes/{node}/lxc/{vmid}/status/start
do start guest<node> <vmtype> <vmid>
or --guest
Start a guest (VM or CT)create /nodes/{node}/{vmtype}/{vmid}/status/start
do start node service<node> <service>Start a service on a nodecreate /nodes/{node}/services/{service}/start
do start vm<node> <vmid>
or --guest
Start a VMcreate /nodes/{node}/qemu/{vmid}/status/start
do startall node<node>Start all VMs and containers on a node (onboot=1 by default)create /nodes/{node}/startall
do stop ct
--yes
<node> <vmid>
or --guest
Stop a containercreate /nodes/{node}/lxc/{vmid}/status/stop
do stop guest
--yes
<node> <vmtype> <vmid>
or --guest
Stop a guest (VM or CT)create /nodes/{node}/{vmtype}/{vmid}/status/stop
do stop node service<node> <service>Stop a service on a nodecreate /nodes/{node}/services/{service}/stop
do stop node task
--yes
<node> <upid>Stop/Kill a running taskdelete /nodes/{node}/tasks/{upid}
do stop vm
--yes
<node> <vmid>
or --guest
Stop a VMcreate /nodes/{node}/qemu/{vmid}/status/stop
do stopall node
--yes
<node>Stop all VMs and containers on a nodecreate /nodes/{node}/stopall
do suspend vm<node> <vmid>
or --guest
Suspend a VMcreate /nodes/{node}/qemu/{vmid}/status/suspend
do suspendall node
--yes
<node>Suspend all guests on a nodecreate /nodes/{node}/suspendall
do sync cluster replication<node> <id>Force an immediate replication synccreate /nodes/{node}/replication/{id}/schedule_now
do sync security domain<realm>Sync users/groups from an external authentication domaincreate /access/domains/{realm}/sync
do test cluster notification<name>Send a test notification to a specific targetcreate /cluster/notifications/targets/{name}/test
do update node packages<node>Trigger an apt update (refresh package cache) on a nodecreate /nodes/{node}/apt/update
do vm agent fsfreeze
--yes
<node> <vmid>
or --guest
Freeze the guest filesystems (thaw them with do vm agent fsthaw)create /nodes/{node}/qemu/{vmid}/agent/fsfreeze-freeze
do vm agent fsfreeze-status<node> <vmid>
or --guest
Show whether the guest filesystems are frozencreate /nodes/{node}/qemu/{vmid}/agent/fsfreeze-status
do vm agent fsthaw<node> <vmid>
or --guest
Thaw the guest filesystemscreate /nodes/{node}/qemu/{vmid}/agent/fsfreeze-thaw
do vm agent fstrim<node> <vmid>
or --guest
Run fstrim inside the guest via QEMU guest agentcreate /nodes/{node}/qemu/{vmid}/agent/fstrim
do vm agent ping<node> <vmid>
or --guest
Ping the QEMU guest agent to verify it is runningcreate /nodes/{node}/qemu/{vmid}/agent/ping
do wakeup node<node>Send Wake-on-LAN magic packet to a nodecreate /nodes/{node}/wakeonlan

Creates.

AliasArgumentsDescriptionAPI call
create cluster backup-job<vmid> <storage> <schedule>Create a new scheduled backup jobcreate /cluster/backup --vmid {vmid} --storage {storage} --schedule {schedule}
create cluster firewall alias<name> <cidr>Create a cluster firewall alias for an address or networkcreate /cluster/firewall/aliases --name {name} --cidr {cidr}
create cluster firewall ipset<name>Create a cluster firewall IPSetcreate /cluster/firewall/ipset --name {name}
create cluster firewall ipset-entry<name> <cidr>Add an address or network to a cluster firewall IPSetcreate /cluster/firewall/ipset/{name} --cidr {cidr}
create cluster firewall-ruleAdd a new firewall rule to the cluster (also needs --action and --type)create /cluster/firewall/rules
create cluster ha group<group> <nodes>Create a new HA groupcreate /cluster/ha/groups --group {group} --nodes {nodes}
create cluster ha resource<sid> <group>Add a VM or CT to HA managementcreate /cluster/ha/resources --sid {sid} --group {group}
create cluster mapping pci<id>Create a new PCI hardware mapping (also needs --map)create /cluster/mapping/pci --id {id}
create cluster mapping usb<id>Create a new USB hardware mapping (also needs --map)create /cluster/mapping/usb --id {id}
create cluster metrics-server<id> <influxdb|graphite> <server>Add a new metric server target (InfluxDB/Graphite) (also needs --port)create /cluster/metrics/server/{id} --type {influxdb|graphite} --server {server}
create cluster replication job<id> <target>Create a new replication job (cluster-level)create /cluster/replication --id {id} --target {target} --type local
create ct firewall-rule<node> <vmid>
or --guest
Add a new firewall rule to a container (also needs --action and --type)create /nodes/{node}/lxc/{vmid}/firewall/rules
create ct snapshot<node> <vmid> <snapname> <descr>
or --guest
Create a new snapshot for a containercreate /nodes/{node}/lxc/{vmid}/snapshot --snapname {snapname} --description {descr}
create ct template
--yes
<node> <vmid>
or --guest
Convert the container into a templatecreate /nodes/{node}/lxc/{vmid}/template
create guest firewall-rule<node> <vmtype> <vmid>
or --guest
Add a new firewall rule to a guest (VM or CT) (also needs --action and --type)create /nodes/{node}/{vmtype}/{vmid}/firewall/rules
create guest snapshot<node> <vmtype> <vmid> <snapname> <descr>
or --guest
Create a new snapshot for a guest (VM or CT)create /nodes/{node}/{vmtype}/{vmid}/snapshot --snapname {snapname} --description {descr}
create guest template
--yes
<node> <vmtype> <vmid>
or --guest
Convert a guest into a template (VM or CT)create /nodes/{node}/{vmtype}/{vmid}/template
create node firewall-rule<node>Add a new firewall rule to a node (also needs --action and --type)create /nodes/{node}/firewall/rules
create pool<poolid> <comment>Create a new resource poolcreate /pools --poolid {poolid} --comment {comment}
create security domain<realm> <pam|pve|ldap|ad|openid>Create a new authentication domain (LDAP, AD, OpenID, …)create /access/domains --realm {realm} --type {pam|pve|ldap|ad|openid}
create security group<groupid>Create a new user groupcreate /access/groups --groupid {groupid}
create security role<roleid> <privileges>Create a new custom role with specific privilegescreate /access/roles --roleid {roleid} --privs {privileges}
create security tfa<userid> <totp|webauthn|u2f|recovery>Add a TFA entry (TOTP, WebAuthn, recovery keys) for a usercreate /access/tfa/{userid} --type {totp|webauthn|u2f|recovery}
create security token<userid> <tokenid> <0|1>Generate a new API token for a usercreate /access/users/{userid}/token/{tokenid} --privsep {0|1}
create security user<userid> <password>Create a new user accountcreate /access/users --userid {userid} --password {password}
create storage<storage> <dir|nfs|cifs|lvm|zfspool|rbd|cephfs|pbs>Add a new storage definition to the clustercreate /storage --storage {storage} --type {dir|nfs|cifs|lvm|zfspool|rbd|cephfs|pbs}
create vm firewall-rule<node> <vmid>
or --guest
Add a new firewall rule to a VM (also needs --action and --type)create /nodes/{node}/qemu/{vmid}/firewall/rules
create vm snapshot<node> <vmid> <snapname> <descr>
or --guest
Create a new snapshot for a VMcreate /nodes/{node}/qemu/{vmid}/snapshot --snapname {snapname} --description {descr}
create vm template
--yes
<node> <vmid>
or --guest
Convert the VM into a read-only templatecreate /nodes/{node}/qemu/{vmid}/template

Changes a configuration.

AliasArgumentsDescriptionAPI call
set cluster backup-job<id>Update an existing backup jobset /cluster/backup/{id}
set cluster firewall optionsUpdate cluster firewall optionsset /cluster/firewall/options
set cluster firewall-rule<pos>Update a specific cluster firewall ruleset /cluster/firewall/rules/{pos}
set cluster ha group<group>Update a HA group configurationset /cluster/ha/groups/{group}
set cluster ha resource<sid>Update a HA resource configurationset /cluster/ha/resources/{sid}
set cluster mapping pci<id>Update a PCI hardware mappingset /cluster/mapping/pci/{id}
set cluster mapping usb<id>Update a USB hardware mapping (also needs --map)set /cluster/mapping/usb/{id}
set cluster metrics-server<id>Update a metric server configuration (also needs --port and --server)set /cluster/metrics/server/{id}
set cluster optionsUpdate cluster-wide optionsset /cluster/options
set cluster replication job<id>Update a cluster replication jobset /cluster/replication/{id}
set ct config<node> <vmid>
or --guest
Update CT configuration (RAM, Cores, etc.)set /nodes/{node}/lxc/{vmid}/config
set ct firewall<node> <vmid>
or --guest
Enable/Disable container firewallset /nodes/{node}/lxc/{vmid}/firewall/options
set ct firewall options<node> <vmid>
or --guest
Update firewall options for a containerset /nodes/{node}/lxc/{vmid}/firewall/options
set ct firewall-rule<node> <vmid> <pos>
or --guest
Update a CT firewall ruleset /nodes/{node}/lxc/{vmid}/firewall/rules/{pos}
set ct snapshot<node> <vmid> <snapname> <description>
or --guest
Update CT snapshot descriptionset /nodes/{node}/lxc/{vmid}/snapshot/{snapname}/config --description {description}
set ct tags<node> <vmid> <tags>
or --guest
Set or overwrite tags for a containerset /nodes/{node}/lxc/{vmid}/config --tags {tags}
set guest config<node> <vmtype> <vmid>
or --guest
Update guest configuration (VM or CT)set /nodes/{node}/{vmtype}/{vmid}/config
set guest firewall<node> <vmtype> <vmid>
or --guest
Enable/Disable guest firewall (VM or CT)set /nodes/{node}/{vmtype}/{vmid}/firewall/options
set guest firewall options<node> <vmtype> <vmid>
or --guest
Update firewall options for a guest (VM or CT)set /nodes/{node}/{vmtype}/{vmid}/firewall/options
set guest firewall-rule<node> <vmtype> <vmid> <pos>
or --guest
Update a guest firewall rule (VM or CT)set /nodes/{node}/{vmtype}/{vmid}/firewall/rules/{pos}
set guest snapshot<node> <vmtype> <vmid> <snapname> <description>
or --guest
Update guest snapshot descriptionset /nodes/{node}/{vmtype}/{vmid}/snapshot/{snapname}/config --description {description}
set guest tags<node> <vmtype> <vmid> <tags>
or --guest
Set or overwrite tags for a guest (VM or CT)set /nodes/{node}/{vmtype}/{vmid}/config --tags {tags}
set node config<node>Update node configuration optionsset /nodes/{node}/config
set node dns<node> <domain> <dns1>Set DNS servers for a nodeset /nodes/{node}/dns --search {domain} --dns1 {dns1}
set node firewall<node>Enable/Disable node firewallset /nodes/{node}/firewall/options
set node firewall options<node>Update firewall options for a nodeset /nodes/{node}/firewall/options
set node firewall-rule<node> <pos>Update a specific node firewall ruleset /nodes/{node}/firewall/rules/{pos}
set node hosts<node> <data>Write /etc/hosts content of a nodecreate /nodes/{node}/hosts --data {data}
set node time<node> <timezone>Set the timezone of a nodeset /nodes/{node}/time --timezone {timezone}
set pool<poolid>Update pool configurationset /pools/{poolid}
set security acl<path> <role> <userid>Update permissions for a path/user/groupset /access/acl --path {path} --roles {role} --users {userid}
set security domain<realm>Update an authentication domainset /access/domains/{realm}
set security group<groupid>Update a user groupset /access/groups/{groupid}
set security password<userid> <password>Change the password of a userset /access/password --userid {userid} --password {password}
set security role<roleid> <privileges>Update privileges for an existing custom roleset /access/roles/{roleid} --privs {privileges}
set security user<userid>Update user account settingsset /access/users/{userid}
set storage config<storage>Update an existing storage configurationset /storage/{storage}
set vm config<node> <vmid>
or --guest
Update VM configuration (RAM, Cores, etc.)set /nodes/{node}/qemu/{vmid}/config
set vm firewall<node> <vmid>
or --guest
Enable/Disable VM firewallset /nodes/{node}/qemu/{vmid}/firewall/options
set vm firewall options<node> <vmid>
or --guest
Update firewall options for a VMset /nodes/{node}/qemu/{vmid}/firewall/options
set vm firewall-rule<node> <vmid> <pos>
or --guest
Update a VM firewall ruleset /nodes/{node}/qemu/{vmid}/firewall/rules/{pos}
set vm snapshot<node> <vmid> <snapname> <description>
or --guest
Update VM snapshot descriptionset /nodes/{node}/qemu/{vmid}/snapshot/{snapname}/config --description {description}
set vm tags<node> <vmid> <tags>
or --guest
Set or overwrite tags for a VMset /nodes/{node}/qemu/{vmid}/config --tags {tags}

Removes.

AliasArgumentsDescriptionAPI call
delete cluster backup-job
--yes
<id>Remove a backup job scheduledelete /cluster/backup/{id}
delete cluster firewall alias
--yes
<name>Delete a cluster firewall aliasdelete /cluster/firewall/aliases/{name}
delete cluster firewall ipset
--yes
<name>Delete a cluster firewall IPSet (it must be empty)delete /cluster/firewall/ipset/{name}
delete cluster firewall ipset-entry
--yes
<name> <cidr>Remove an address or network from a cluster firewall IPSetdelete /cluster/firewall/ipset/{name}/{cidr}
delete cluster firewall-rule
--yes
<pos>Remove a cluster firewall rule by positiondelete /cluster/firewall/rules/{pos}
delete cluster ha group
--yes
<group>Delete a HA group configurationdelete /cluster/ha/groups/{group}
delete cluster ha resource
--yes
<sid>Remove a resource from HA managementdelete /cluster/ha/resources/{sid}
delete cluster mapping pci
--yes
<id>Remove a PCI hardware mappingdelete /cluster/mapping/pci/{id}
delete cluster mapping usb
--yes
<id>Remove a USB hardware mappingdelete /cluster/mapping/usb/{id}
delete cluster metrics-server
--yes
<id>Remove a metric server configurationdelete /cluster/metrics/server/{id}
delete cluster replication job
--yes
<id>Remove a cluster replication jobdelete /cluster/replication/{id}
delete ct
--yes
<node> <vmid>
or --guest
Destroy a container (Permanent!)delete /nodes/{node}/lxc/{vmid}
delete ct firewall-rule
--yes
<node> <vmid> <pos>
or --guest
Remove a firewall rule from a containerdelete /nodes/{node}/lxc/{vmid}/firewall/rules/{pos}
delete ct snapshot
--yes
<node> <vmid> <snapname>
or --guest
Delete a specific container snapshotdelete /nodes/{node}/lxc/{vmid}/snapshot/{snapname}
delete ct tags<node> <vmid>
or --guest
Remove all tags from a containerset /nodes/{node}/lxc/{vmid}/config --delete tags
delete ct unused-disk
--yes
<node> <vmid> <unusedDisk>
or --guest
Remove an unattached disk from a CTset /nodes/{node}/lxc/{vmid}/config --delete {unusedDisk}
delete guest
--yes
<node> <vmtype> <vmid>
or --guest
Destroy a guest VM or CT (Permanent!)delete /nodes/{node}/{vmtype}/{vmid}
delete guest backup
--yes
<node> <storage> <volume>Permanently delete a backup file from storagedelete /nodes/{node}/storage/{storage}/content/{volume}
delete guest firewall-rule
--yes
<node> <vmtype> <vmid> <pos>
or --guest
Remove a firewall rule from a guest (VM or CT)delete /nodes/{node}/{vmtype}/{vmid}/firewall/rules/{pos}
delete guest snapshot
--yes
<node> <vmtype> <vmid> <snapname>
or --guest
Delete a specific guest snapshotdelete /nodes/{node}/{vmtype}/{vmid}/snapshot/{snapname}
delete guest tags<node> <vmtype> <vmid>
or --guest
Remove all tags from a guest (VM or CT)set /nodes/{node}/{vmtype}/{vmid}/config --delete tags
delete guest unused-disk
--yes
<node> <vmtype> <vmid> <unusedDisk>
or --guest
Remove an unattached disk from a guest (VM or CT)set /nodes/{node}/{vmtype}/{vmid}/config --delete {unusedDisk}
delete node firewall-rule
--yes
<node> <pos>Remove a firewall rule from a nodedelete /nodes/{node}/firewall/rules/{pos}
delete pool
--yes
<poolid>Remove a resource pooldelete /pools/{poolid}
delete security domain
--yes
<realm>Remove an authentication domaindelete /access/domains/{realm}
delete security group
--yes
<groupid>Remove a user groupdelete /access/groups/{groupid}
delete security role
--yes
<roleid>Remove a custom roledelete /access/roles/{roleid}
delete security tfa
--yes
<userid> <id>Remove a TFA entry for a userdelete /access/tfa/{userid}/{id}
delete security token
--yes
<userid> <tokenid>Remove an API tokendelete /access/users/{userid}/token/{tokenid}
delete security user
--yes
<userid>Remove a user accountdelete /access/users/{userid}
delete storage config
--yes
<storage>Remove a storage definition from the clusterdelete /storage/{storage}
delete vm
--yes
<node> <vmid>
or --guest
Destroy a VM (Permanent!)delete /nodes/{node}/qemu/{vmid}
delete vm firewall-rule
--yes
<node> <vmid> <pos>
or --guest
Remove a firewall rule from a VMdelete /nodes/{node}/qemu/{vmid}/firewall/rules/{pos}
delete vm snapshot
--yes
<node> <vmid> <snapname>
or --guest
Delete a specific VM snapshotdelete /nodes/{node}/qemu/{vmid}/snapshot/{snapname}
delete vm tags<node> <vmid>
or --guest
Remove all tags from a VMset /nodes/{node}/qemu/{vmid}/config --delete tags
delete vm unused-disk
--yes
<node> <vmid> <unusedDisk>
or --guest
Remove an unattached disk from a VMset /nodes/{node}/qemu/{vmid}/config --delete {unusedDisk}