Request Packet Structure
A request XML packet removing a backup from the local repository includes the remove-file operation node:
<packet version="1.6.0.0">
<backup-manager>
<remove-file>
...
</remove-file>
</backup-manager>
</packet>
The remove-file node is presented by type BackupRemoveFileInput (backup.xsd), and its graphical representation is as follows:

- The webspace-id node is required. It specifies a webspace ID. Data type: integer.
- The webspace-name node is required. It specifies a webspace name. Data type: string.
- The customer-id node is required. It specifies a customer ID. Data type: integer.
- The customer-login node is required. It specifies a customer login. Data type: string.
- The reseller-id node is required. It specifies a reseller ID. Data type: integer.
- The reseller-login node is required. It specifies a reseller login. Data type: string.
- The server node is required. It instructs Plesk to remove a server-level backup. Data type: none.
Note: You should specify one of the mentioned nodes in a request packet.
- The filename node is required. It specifies the name of the backup in the local repository. Data type: string.
Remarks
You can remove backups stored in the local repository of a customer or webspace backups.
- To remove a backup of a customer account, Administrator should specify the customer login or ID.
- To remove a backup of a webspace, the Panel users should specify the webspace ID or name.
Please send us your feedback on this help page.