update-user
Installation
SKILL.md
Update User
Update an existing user on a live LiteLLM proxy.
Setup
LITELLM_BASE_URL — e.g. https://my-proxy.example.com
LITELLM_API_KEY — proxy admin key
API reference: https://litellm.vercel.app/docs/proxy/virtual_keys#updating-a-user
Ask the user
- user_id (required) — if they don't have it, list users first:
curl -s "$BASE/user/list?page_size=25" -H "Authorization: Bearer $KEY" - What to change — any combination of:
max_budget(float)user_role(proxy_admin,proxy_admin_viewer,internal_user,internal_user_viewer)models(list)tpm_limit/rpm_limit(int)user_email,user_alias
Run
curl -s -X POST "$BASE/user/update" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"user_id": "<user_id>",
"max_budget": <value>,
"user_role": "<role>",
"models": [<models>]
}'
Only include the fields being changed.
Output
Show the updated user_id, max_budget, user_role, models.
Related skills
More from berriai/litellm-skills
delete-model
Delete a model from a live LiteLLM proxy. Asks for the model name or model_id and confirms before calling POST /model/delete. Use when the user wants to remove, delete, or unregister a model from a LiteLLM proxy instance.
10add-key
Generate a new API key on a live LiteLLM proxy. Asks for alias, scope (user/team), budget, models, and expiry, then calls POST /key/generate. Use when the user wants to create, generate, or provision an API key on a LiteLLM proxy instance.
9add-mcp
>
9delete-mcp
>
9update-key
>
9update-mcp
>
9