pbs_node_disk_directory_delete
Remove a PBS directory datastore mount unit and config mapping without wiping disk data. Set confirm=true to execute, or false for a dry-run plan.
Instructions
MUTATION: remove a directory datastore's mount unit and config mapping on a PBS node.
RISK_HIGH: irreversibly destroys the datastore mapping. UNLIKE PVE's equivalent, PBS exposes NO cleanup-disks option here — the underlying disk data is NEVER wiped by this call, only the mount unit and config mapping are removed. This call is SYNCHRONOUS on PBS (unlike PVE's async version): confirm=True executes (DELETE /nodes/{node}/disks/directory/{name}) and returns {"status": "ok", "result": None} directly, not "submitted". Needs PROXIMO_PBS_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Datastore name (directory backend) to remove. | |
| node | No | PBS node name (or 'localhost'). | localhost |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the removal. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |