Deletes a quiz submission and returns its data from before deletion.
Callers with site-wide delete access can delete submissions from other submitters
on the same site. Site members with own-only access receive NOT_FOUND when
deleting another member's submission. Read access doesn't imply delete access.
Use this operation to remove an unwanted attempt. It does not directly undo the associated program step. To remove the participant's step result, see the Resolved Steps API. Undoing or deleting a resolved step can also trigger removal of its linked submission.
You can only call this method when authenticated as a Wix app or Wix user identity.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.