[SOLVED] Delete backup API Function

proxene

Member
Sep 15, 2017
14
1
8
32
Belgique
face-h.eu
Hello,

I would like to know if is it possible to delete a backup file with the API ?
I don't find the function on the Documentation API.

Thank you in advance.


Best regards,
Proxene
 
Hi
Yes, you can.

The path is "/storage/<storagename>" and the methode is del/
 
Yes, it's possible.

Try /nodes/{node}/storage/{storage}/content to get the content and then the following to delete /nodes/{node}/storage/{storage}/content/{volume}

For more Infos, see the API Docs.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!