pbs_datastore_delete
Delete a Proxmox Backup Server datastore. Dry-run by default; confirm execution to detach or permanently destroy backup data.
Instructions
MUTATION: delete a PBS datastore. Dry-run by default. RISK IS CONDITIONAL:
destroy_data=False (default) → MEDIUM: detaches the datastore config; backup CHUNKS REMAIN ON DISK and the datastore is re-addable to recover. destroy_data=True → HIGH, IRREVERSIBLE: PERMANENTLY DESTROYS ALL backup data in the named datastore — no recovery possible.
PBS deletion is an async worker task (UPID) → outcome='submitted'. confirm=True to execute.
DELETE /config/datastore/{name} Smoke-confirm: destroy-data / keep-job-configs param names; sync-vs-async.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No | ||
| destroy_data | No | ||
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. | |
| keep_job_configs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |