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.
You can only call this method when authenticated as a Wix app or Wix user identity.
ID of the submission to delete.
Whether to permanently delete a submission bypassing the trash bin.
Default: false
Whether to preserve files, associated with the submission. If the value is false
, then the files are deleted after 210 days.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.