Delete a document with a reason (p11,
Changed onHuman only. The client's reviewer, or a reviewer when the client has none, or the firm admin (403 DOCUMENT_DELETE_ROLE_REQUIRED otherwise). A statement dated in a month that is not open is kept (409 DOCUMENT_STATEMENT_MONTH_CLOSED, with periodStart and periodEnd). The row keeps its category and entry; the document's matches go with it. One document.deleted audit row keeps the reason, the file's name and type, and who. Nothing is sent to the client. The 10-second Undo is the app holding the request; the API has no undo.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Request body
Uploaded to the wrong client, not a business document, or an exact duplicate of a filed copy.
Response
Deleted
Changes
- breaking
added required request body
- breaking
removed the success response with the status
- info
added the non-success response with the status
2 more changes in this revision
- breaking