API
Delete submissions
Deletes up to 200 submissions of one form in a single call and says how many went.
POST/forms/{id}/submissions/batch-remove
Runs the real call on your workspace.
POST /forms/{id}/submissions/batch-remove
Deletes up to 200 submissions of one form in a single call and says how many went.
Example
Needs forms:write.
curl -X POST "$OE/forms/frm_3b9d2e7a1c4f80d56e2a9b14/submissions/batch-remove" -H "$AUTH" -H 'content-type: application/json' -d '{ "ids": ["fsb_8e2c4a6b1d3f57e09a2c4e6b", "fsb_2a4c6e8b0d1f35a79c2e4a6c"]}'{ "object": "form_submission_batch", "formId": "frm_3b9d2e7a1c4f80d56e2a9b14", "deleted": 2 }An id that names no submission of this form is skipped, so deleted can be smaller than the list.