Deletes a submission.
This function moves the form submission into the trash bin. To delete the submission permanently, change the default permanent
field value to true.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
ID of the submission to delete.
Optional fields.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.