delete_policy
Delete a RabbitMQ policy with a recorded undo to re-create it exactly. Preview with dry_run before applying.
Instructions
[WRITE][risk=medium] Delete a rabbitmq policy; the undo re-creates it.
Reads the policy first so the recorded undo can re-create it exactly. Pass dry_run=True to preview.
Args: vhost: The policy's vhost (the default vhost is '/'). name: Policy name (from list_policies). dry_run: If True, preview without deleting. target: rabbitmq target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| vhost | Yes | ||
| target | No | ||
| dry_run | No |