forked from phoenix/litellm-mirror
fix(proxy_server.py): return deleted team id's to confirm /team/delete worked
This commit is contained in:
parent
f80b500917
commit
19e43c8d29
1 changed files with 5 additions and 2 deletions
|
@ -5841,7 +5841,7 @@ async def update_team(
|
|||
- blocked: bool - Flag indicating if the team is blocked or not - will stop all calls from keys with this team_id.
|
||||
|
||||
Example - update team TPM Limit
|
||||
|
||||
|
||||
```
|
||||
curl --location 'http://0.0.0.0:8000/team/update' \
|
||||
|
||||
|
@ -6169,7 +6169,10 @@ async def delete_team(
|
|||
## DELETE ASSOCIATED KEYS
|
||||
await prisma_client.delete_data(team_id_list=data.team_ids, table_name="key")
|
||||
## DELETE TEAMS
|
||||
await prisma_client.delete_data(team_id_list=data.team_ids, table_name="team")
|
||||
deleted_teams = await prisma_client.delete_data(
|
||||
team_id_list=data.team_ids, table_name="team"
|
||||
)
|
||||
return deleted_teams
|
||||
|
||||
|
||||
@router.get(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue