From e00319af4d72746a69482b00f0e4b65887482d47 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 15 Dec 2020 14:49:41 +0100 Subject: [PATCH] api: adapt VM destroy description Signed-off-by: Thomas Lamprecht --- PVE/API2/Qemu.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 693348da..e2d2d67b 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -1501,7 +1501,8 @@ __PACKAGE__->register_method({ method => 'DELETE', protected => 1, proxyto => 'node', - description => "Destroy the vm (also delete all used/owned volumes).", + description => "Destroy the VM and all used/owned volumes. Removes any VM specific permissions" + ." and firewall rules", permissions => { check => [ 'perm', '/vms/{vmid}', ['VM.Allocate']], }, @@ -1513,7 +1514,7 @@ __PACKAGE__->register_method({ skiplock => get_standard_option('skiplock'), purge => { type => 'boolean', - description => "Remove VM ID from backup jobs, replication jobs and HA resource configuration.", + description => "Remove VMID from configurations, like backup & replication jobs and HA.", optional => 1, }, },