Deleting Attached PDF Document Through The API


Is deleting or replacing an attached document possible through the API? I have been able to successfully attach a document to an invoice through the API. I need to replace the originally attached PDF if I update the invoice through the API as well.

I am using a hosted environment with v4 of Invoice Ninja.

Thank you


I believe you can send a DELETE request to /api/v1/documents/${}