delete_poll
Soft delete a poll by ID or key, removing it and its votes from the thread view while allowing group admins to restore it. To end voting, set closing_at via update_poll instead.
Instructions
Discard a poll by id_or_key: 1 call. Loomio's SOFT delete: the poll and its votes leave the thread view, but nothing is permanently erased (a group admin can restore it). To end voting set closing_at to the next full hour with update_poll; no immediate close exists.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id_or_key": "<id_or_key>"
},
"name": "delete_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_key | Yes | Poll id or short key. |