DELETE
/
open
/
forms
/
{id}
/
submissions
/
{submission_id}
curl --request DELETE \
  --url https://api.opnform.com/open/forms/{id}/submissions/{submission_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Record successfully removed."
}

Delete Submission

Remove a single submission from a form.

Authentication & Scope

Requires the forms-write ability.

Request

DELETE /open/forms/{id}/submissions/{submission_id} HTTP/1.1
Host: api.opnform.com
Authorization: Bearer <token>

Path Parameters

ParameterTypeDescription
idnumberNumeric ID of the parent form.
submission_idnumberNumeric ID of the submission to permanently delete.

Response

200 OK – Returns a confirmation message.

{
  "message": "Record successfully removed."
}

403 Forbidden – The token lacks forms-write or you don’t have permission.

Authorizations

Authorization
string
header
required

Personal Access Token

Path Parameters

id
number
required

The ID of the form.

submission_id
number
required

The ID of the submission to delete.

Response

200
application/json

Successful

The response is of type object.