feat: add document deletion endpoint and UI button (AIIA-70) #1

Open
Remmer wants to merge 0 commits from feat/aiia-70-document-delete into master
Owner
No description provided.
Remmer added 1 commit 2026-04-10 21:21:34 +00:00
Add DELETE /api/documents/:id endpoint that removes the DB record,
cleans up the stored file from disk, and logs an audit event. Add a
"Loeschen" button to the DokumentUpload component with confirmation
dialog.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This pull request has changes conflicting with the target branch.
  • src/app/api/documents/[id]/route.ts
  • src/components/documents/dokument-upload.tsx
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/aiia-70-document-delete:feat/aiia-70-document-delete
git checkout feat/aiia-70-document-delete
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Remmer/StageAI#1
No description provided.