diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py index ed20fe86cdc..20937310c9b 100644 --- a/litellm/proxy/_types.py +++ b/litellm/proxy/_types.py @@ -691,6 +691,14 @@ class LiteLLMRoutes(enum.Enum): "/team/member_add", "/team/member_delete", "/team/member_update", + # Team lifecycle writes: handlers call _verify_team_access (proxy admin, + # team admin, or org admin of the team's org). Route-level org-admin + # detection only inspects organization_id in the body, which these + # payloads often omit, so they must be self-managed like member_*. + "/team/update", + "/team/delete", + "/team/block", + "/team/unblock", "/team/permissions_list", "/team/permissions_update", "/team/daily/activity",