Update litellm/proxy/management_endpoints/key_management_endpoints.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
yuneng-jiang
2026-03-16 15:34:25 -07:00
committed by GitHub
co-authored by greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
parent bc810f99e4
commit 55c7ba94e6
@@ -4763,7 +4763,6 @@ async def _check_key_admin_access(
Raises HTTPException(403) if the caller is not authorized.
"""
from litellm.proxy.proxy_server import proxy_logging_obj
if user_api_key_dict.user_role == LitellmUserRoles.PROXY_ADMIN.value:
return