pmg_action_removeattachments_create
Create a remove-attachments action in PMG RuleDB to strip attachments from emails, with optional replacement text and quarantine. Dry-run by default; confirm to apply.
Instructions
MUTATION (LOW): create a remove-attachments action object in the PMG RuleDB. Dry-run by default. confirm=True to execute. Needs PROXIMO_PMG_* config. PMG 9.1 pmgsh-verified path: POST /config/ruledb/action/removeattachments. name: action name. text: replacement text for removed attachments. all_: maps to API param 'all' (bool; remove all attachments). quarantine: if True, quarantine removed attachments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all_ | No | ||
| info | No | ||
| name | Yes | ||
| text | Yes | ||
| confirm | No | ||
| quarantine | 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |