forked from phoenix/litellm-mirror
refactor(proxy_server.py): update doc string for /user/update
This commit is contained in:
parent
1840919ebd
commit
51a02de4cf
1 changed files with 13 additions and 1 deletions
|
@ -6622,7 +6622,19 @@ async def user_info(
|
|||
)
|
||||
async def user_update(data: UpdateUserRequest):
|
||||
"""
|
||||
[TODO]: Use this to update user budget
|
||||
Example curl
|
||||
|
||||
```
|
||||
curl --location 'http://0.0.0.0:4000/user/update' \
|
||||
--header 'Authorization: Bearer sk-1234' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--data '{
|
||||
"user_id": "test-litellm-user-4",
|
||||
"user_role": "proxy_admin_viewer"
|
||||
}'
|
||||
|
||||
See below for all params
|
||||
```
|
||||
"""
|
||||
global prisma_client
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue