DELETE

Delete Submission


Note: The Form Submission API only works with the Wix Forms app. Call GetAppInstance to confirm that the app named wix_forms is installed on the site.


Deletes a submission by ID.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Submissions
Learn more about app permissions.
Endpoint
DELETE
https://www.wixapis.com/form-submission-service/v4/submissions/{submissionId}

Path Params
submissionIdstringRequired

ID of the submission to delete.

Query Params
permanentboolean

Whether to permanently delete a submission bypassing the trash bin.

Default: false


preserveFilesboolean

Whether to preserve files, associated with the submission. If the value is false, then the files are deleted after 210 days.

Response Object
Returns an empty object.
Delete Submission Example 1
Request
cURL
curl -X DELETE \ 'http://www.wixapis.com/form-submission/v4/submissions/e62e3011-55cf-4de3-a497-e097b52d86b7' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>'
Response
JSON
undefined
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?