pbs_group_change_owner
Reassign the owner of a PBS backup group. Dry-run by default; set confirm=True to execute and transfer deletion and prune control.
Instructions
MUTATION (MEDIUM): reassign the owner of a PBS backup group. Dry-run by default.
The new owner controls deletion and prune of this backup group. The previous owner loses those permissions immediately. Use pbs_snapshots_list to see the group's current owner first. No PBS snapshot primitive — revert by re-assigning the owner back. confirm=True to execute.
POST /admin/datastore/{store}/change-owner Smoke-confirm: exact path + new-owner vs owner param name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ns | No | Namespace path the backup group lives in; omit for the root namespace. | |
| store | Yes | PBS datastore name. | |
| confirm | No | Set True to execute; False (default) only returns the dry-run plan. | |
| backup_id | Yes | Backup group ID (e.g. VMID/CTID or host name). | |
| new_owner | Yes | PBS auth ID (user@realm or api-token) to become the new owner of the backup group. | |
| backup_type | Yes | Backup type of the group: 'vm', 'ct', or 'host'. | |
| 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 |