mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #12106] [CLOSED] feat - Add API key management routes for users #45897
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/12106
Author: @shohamyamin
Created: 3/27/2025
Status: ❌ Closed
Base:
dev← Head:feat-add-users-api-endpoints📝 Commits (2)
a38a575Add API key management routes for users031c440Merge branch 'dev' into feat-add-users-api-endpoints📊 Changes
1 file changed (+76 additions, -2 deletions)
View changed files
📝
backend/open_webui/routers/users.py(+76 -2)📄 Description
Description
This pull request introduces three new routes for managing API keys for users. These routes allow administrators to create, retrieve, and delete API keys for specific users. The changes include appropriate logging and error handling to ensure robust functionality.
Added
Changed
Fixed
Security
Depends(get_admin_user)for route dependencies.Additional Information
Screenshots or Videos
Pull Request Checklist
devbranch.featto categorize it as a new feature.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.