I just added similar code. Please can you test: https://git.proxmox.com/?p=pmg-api.git;a=commitdiff;h=6ccbc37ff43d9c6a355809cc5d26bf240311114f You need to enable avast in the config (/etc/pmg/pmg.conf) # pmgsh set /config/admin --avast 1