Delete a form
delete_formDeletes a form, its versions and its submissions permanently; this cannot be undone. update_form_settings with status "paused" stops new submissions and keeps the form and its responses. An agent key (fh_agent_...) deletes only the unclaimed forms it created; after the user claims a form it answers owner_key_required. An account key (fh_live_...) needs the owner role. A form paused after abuse reports answers paused_by_moderation, and an agent key's form with any abuse report answers under_review. A form an agent key deletes still counts toward its 3 unclaimed forms for 24 hours.
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": {
"form_id": "<form_id>"
},
"name": "delete_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Required as true when signed in through OAuth: send it only after the user said yes to deleting this form. Not needed with an API key. | |
| form_id | Yes | The 10-character form_id returned by publish_form or list_forms, such as "abcDEF1234". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | ||
| form_id | Yes |