delete_document
Remove a document from a company's or pitch's data room, for good: the file is purged from storage and there is no undo, so confirm with the user before calling this. Give the document's id from list_documents and the slug it belongs to. Two kinds of document are refused rather than guessed at: files that arrived on a founder update (they belong to the update, and the web app doesn't remove them from the data room either), and files a transaction was recorded from (the web app deletes those transactions along with the file, which is a change to do there, where the user can see what goes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The document's id, from list_documents. | |
| company | Yes | Company or pitch the document belongs to, by slug. |