Is there any way to cancel invoice with api without sending an email?

Is there any way to cancel invoice with api without sending an email?
I am using python library.

Unfortunately, disabling the Square generated emails for invoices isn’t currently available. :slightly_smiling_face: