pbs_tfa_update
Update a two-factor authentication entry for a Proxmox Backup Server user. Modify description or enable/disable the entry, with dry-run preview before applying.
Instructions
MUTATION (MEDIUM): update a TFA entry's description/enabled flag. Dry-run by default —
the PLAN reads the current entry first. password, if supplied, is redacted identically to
pbs_tfa_add's. confirm=True executes and returns a dict; synchronous, no UPID. Needs
PROXIMO_PBS_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enable | No | Whether the entry is currently enabled; False disables it immediately. Omit to leave unchanged. | |
| tfa_id | Yes | TFA entry id to update. | |
| userid | Yes | PBS user id, format 'user@realm'. | |
| confirm | No | False (default) returns a dry-run PLAN preview; True executes the mutation. | |
| password | No | The ACTING user's own current password; redacted from all plans/logs/ledger. | |
| description | No | New description; omit to leave unchanged. | |
| 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 |