Loading...
Loading...
Update an existing API key on a live LiteLLM proxy. Ask for the key and what to change (budget, models, expiry), then call POST /key/update.
npx skill4agent add berriai/litellm-skills update-keyLITELLM_BASE_URL — e.g. https://my-proxy.example.com
LITELLM_API_KEY — proxy admin keysk-...curl -s "$BASE/key/list?size=25&return_full_object=true" -H "Authorization: Bearer $KEY"max_budgetmodelskey_aliastpm_limitrpm_limitduration30dteam_iduser_idcurl -s -X POST "$BASE/key/update" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"key": "<sk-...>",
"max_budget": <value>,
"models": [<models>],
"duration": "<duration>"
}'key_aliasmax_budgetmodelsexpires