mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 23:21:44 -05:00
[PR #24786] refactor: remove unused DELETE /auths/api_key endpoint #98881
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/24786
Author: @Classic298
Created: 5/15/2026
Status: 🔄 Open
Base:
dev← Head:remove-unused-auths-delete-apikey-endpoint📝 Commits (1)
3147cffrefactor: remove unused DELETE /auths/api_key endpoint📊 Changes
2 files changed (+0 additions, -31 deletions)
View changed files
📝
backend/open_webui/routers/auths.py(+0 -6)📝
src/lib/apis/auths/index.ts(+0 -25)📄 Description
The delete-API-key endpoint's only frontend wrapper, deleteAPIKey in src/lib/apis/auths/index.ts, is dead: nothing imports or calls it, and the route handler has no internal caller. Removes only the DELETE route handler and the dead wrapper. The GET and POST /auths/api_key endpoints on the same path (and their live getAPIKey/createAPIKey wrappers) are deliberately untouched.
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.