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.