I am trying to delete backups for a specific vmid. here is the code:
When I run this with out the data, it completes successfully but doesn't delete any backups. What am I doing wro
Code:
curl --location --request DELETE 'http://pve0.mgmt.local:8006/api2/json/nodes/pve0/storage/tempbackup/prunebackups' \
--header 'Authorization: PVEAPIToken=api@pve!apiToken=redacted' \
--header 'Content-Type: application/json' \
--data '{
"vmid": 4000
}'
When I run this with out the data, it completes successfully but doesn't delete any backups. What am I doing wro