Is there a way to delete an invoice using API

Is there a way to delete an invoice using API

We can manually delete an invoice if needed. Is there any way to delete an invoice via API?