Delete Submission
form_io.delete_submission
ActionBusiness appsconnection required
Calls the Form.io API with the connection's credentials.
Delete one submission from a form.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Form.io
- Secret shape
- {"api_key": "…"} for a project API key, or {"jwt_token": "…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
form_id Identifier of the form, as returned by form_io.list_forms. | string | Yes | — | — | 5e5b6d4f0a1b2c3d4e5f6a7b |
submission_id Identifier of the submission to act on, as returned by form_io.list_submissions. | string | Yes | — | — | 6a1b2c3d4e5f6a7b8c9d0e1f |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"form_id": "5e5b6d4f0a1b2c3d4e5f6a7b",
"submission_id": "6a1b2c3d4e5f6a7b8c9d0e1f"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
deleted True once Form.io accepted the deletion. | boolean | — |
form_id The form the submission belonged to. | string | — |
submission_id The submission that was removed. | string | — |
{
"deleted": false,
"form_id": "",
"submission_id": ""
}See Delete Submission run in a workflow.
In a technical demo we add the Form.io connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.