Delete submission

Delete one submission permanently, with its uploaded files.

DELETE https://cotlet.dev/api/v1/fillout/forms/{form_id}/submissions/{submission_id}

write Confirm

Deletes one submission from a form's Results. The deletion is permanent and cannot be undone, and it also deletes the file uploads of that submission. Files already sent to tools like Airtable stay there. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: delete_submission
NameTypeDescription
form_id string required string Form ID from list_forms.
submission_id string required string Submission ID from list_submissions.

Request

cURL
curl -X DELETE https://cotlet.dev/api/v1/fillout/forms/form_8c41d2/submissions/submission_8c41d2 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("fillout", "delete_submission", {"form_id":"form_8c41d2","submission_id":"submission_8c41d2"})
Node.js
const result = await cotlet.call('fillout', 'delete_submission', {"form_id":"form_8c41d2","submission_id":"submission_8c41d2"});
CLI
cotlet call fillout delete_submission --data '{"form_id":"form_8c41d2","submission_id":"submission_8c41d2"}'

Example response

JSON

{
  "form_id": "fpj3Kd9xQw2L",
  "submission_id": "sb_71f3a9",
  "status": "deleted"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.