[GH-ISSUE #210] how to delete PBS group backups #118

Closed
opened 2026-02-27 15:46:31 +03:00 by kerem · 1 comment
Owner

Originally created by @ITJamie on GitHub (Jun 12, 2025).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/210

docs: https://pbs.proxmox.com/docs/api-viewer/index.html#/admin/datastore/{store}/groups

ive attempted a few variations but all seem to fail

delete_backup = proxmoxerpbs.admin.datastore('dsname').groups.delete(backup_id=1234, backup_type="vm")
# proxmoxer.core.ResourceException: 400 Bad Request: Bad Request - {'errors': b"parameter verification failed:\n- 'backup_id': schema does not allow additional properties.\n- 'backup_type': schema does not allow additional properties."}

delete_backup = proxmoxerpbs.admin.datastore('dsname').groups.delete(params={"backup-id":1234, "backup-type":"vm"})
# proxmoxer.core.ResourceException: 400 Bad Request: Bad Request - {'errors': b"parameter verification failed:\n- 'params': schema does not allow additional properties.\n- 'params': schema does not allow additional properties."}

example curl of what works (creds removed)

curl 'https://hostname/api2/extjs/admin/datastore/dsname/groups?backup-type=vm&backup-id=1234' -X 'DELETE' 
Originally created by @ITJamie on GitHub (Jun 12, 2025). Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/210 docs: [https://pbs.proxmox.com/docs/api-viewer/index.html#/admin/datastore/{store}/groups](https://pbs.proxmox.com/docs/api-viewer/index.html#/admin/datastore) ive attempted a few variations but all seem to fail ``` delete_backup = proxmoxerpbs.admin.datastore('dsname').groups.delete(backup_id=1234, backup_type="vm") # proxmoxer.core.ResourceException: 400 Bad Request: Bad Request - {'errors': b"parameter verification failed:\n- 'backup_id': schema does not allow additional properties.\n- 'backup_type': schema does not allow additional properties."} delete_backup = proxmoxerpbs.admin.datastore('dsname').groups.delete(params={"backup-id":1234, "backup-type":"vm"}) # proxmoxer.core.ResourceException: 400 Bad Request: Bad Request - {'errors': b"parameter verification failed:\n- 'params': schema does not allow additional properties.\n- 'params': schema does not allow additional properties."} ``` example curl of what works (creds removed) ``` curl 'https://hostname/api2/extjs/admin/datastore/dsname/groups?backup-type=vm&backup-id=1234' -X 'DELETE' ```
kerem 2026-02-27 15:46:31 +03:00
Author
Owner

@jhollowe commented on GitHub (Jun 12, 2025):

See #192

<!-- gh-comment-id:2966330519 --> @jhollowe commented on GitHub (Jun 12, 2025): See #192
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmoxer#118
No description provided.