Destroy

Forms Developer Guides Scripting Data Object

DESTROY()

data.destroy();

Destroys the submission on the server, returning a promise.