pve_token_revoke
Permanently revoke an API token for a user. Preview the irreversible action with a dry-run before confirming.
Instructions
MUTATION (IRREVERSIBLE): permanently revoke an API token.
Dry-run by default — the PLAN flags HIGH: revocation is permanent, the secret is gone forever. confirm=True executes and returns a dict; synchronous, no UPID. Use pve_tokens_list to see a user's tokens first, or pve_token_create to issue a new one instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userid | Yes | Owning user, format 'user@realm'. | |
| confirm | No | False (default) returns a dry-run PLAN preview; True executes the mutation. | |
| tokenid | Yes | Name of the API token to revoke. | |
| 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 |