[PR #1545] [CLOSED] Add API Endpoint for Deleting Documents in system #3708

Closed
opened 2026-02-22 18:34:20 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1545
Author: @yond1994
Created: 5/26/2024
Status: Closed

Base: masterHead: master


📝 Commits (4)

  • b7c3f3d fix: "remove document system api"
  • ad59db2 Merge pull request #1 from Racks-Labs/rosaleda
  • d235a7d fix "new branding la rosaleda"
  • 31d7452 Merge pull request #2 from Racks-Labs/rebranding

📊 Changes

7 files changed (+154 additions, -11 deletions)

View changed files

📝 frontend/index.html (+11 -11)
📝 frontend/public/anything-llm-dark.png (+0 -0)
📝 frontend/public/anything-llm-light.png (+0 -0)
📝 frontend/public/favicon.ico (+0 -0)
📝 frontend/public/favicon.png (+0 -0)
📝 server/endpoints/api/system/index.js (+65 -0)
📝 server/swagger/openapi.json (+78 -0)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #xxx

What is in this change?

This pull request adds a new API endpoint to delete documents from the system. The endpoint is /v1/system/remove-documents and it validates the request, ensuring the user has the necessary roles (admin or manager). It also includes Swagger documentation for the new endpoint.

Additional Information

The change enhances the system by allowing the deletion of documents via an API call, improving the management capabilities of the system.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/1545 **Author:** [@yond1994](https://github.com/yond1994) **Created:** 5/26/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (4) - [`b7c3f3d`](https://github.com/Mintplex-Labs/anything-llm/commit/b7c3f3d7ab77926b5b9ac691441335add1feda77) fix: "remove document system api" - [`ad59db2`](https://github.com/Mintplex-Labs/anything-llm/commit/ad59db2456a59910570c459dedf70757370a18b5) Merge pull request #1 from Racks-Labs/rosaleda - [`d235a7d`](https://github.com/Mintplex-Labs/anything-llm/commit/d235a7d9012e2ca971be78ec85c2621301ebfe69) fix "new branding la rosaleda" - [`31d7452`](https://github.com/Mintplex-Labs/anything-llm/commit/31d745205802856a8f8e396000327728bd4fddb8) Merge pull request #2 from Racks-Labs/rebranding ### 📊 Changes **7 files changed** (+154 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `frontend/index.html` (+11 -11) 📝 `frontend/public/anything-llm-dark.png` (+0 -0) 📝 `frontend/public/anything-llm-light.png` (+0 -0) 📝 `frontend/public/favicon.ico` (+0 -0) 📝 `frontend/public/favicon.png` (+0 -0) 📝 `server/endpoints/api/system/index.js` (+65 -0) 📝 `server/swagger/openapi.json` (+78 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [x] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #xxx ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> This pull request adds a new API endpoint to delete documents from the system. The endpoint is /v1/system/remove-documents and it validates the request, ensuring the user has the necessary roles (admin or manager). It also includes Swagger documentation for the new endpoint. ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> The change enhances the system by allowing the deletion of documents via an API call, improving the management capabilities of the system. ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:20 -05:00
yindo closed this issue 2026-02-22 18:34:20 -05:00
yindo changed title from [PR #1545] Add API Endpoint for Deleting Documents in system to [PR #1545] [CLOSED] Add API Endpoint for Deleting Documents in system 2026-06-05 15:14:49 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3708