Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

docs(proxy): state /key/bulk_update null handling as /key/update parity

mateo-berrif982d3e04695
diff --git a/litellm/proxy/management_endpoints/key_management_endpoints.py b/litellm/proxy/management_endpoints/key_management_endpoints.py
index 959fee7b010..033ada2c50d 100644
--- a/litellm/proxy/management_endpoints/key_management_endpoints.py
+++ b/litellm/proxy/management_endpoints/key_management_endpoints.py
@@ -3519,8 +3519,8 @@ async def bulk_update_keys(
- tags: Optional[List[str]] - Tags for organizing keys
- object_permission: Optional[LiteLLM_ObjectPermissionBase] - key-specific object permission, as on /key/update
- Only the fields an item carries are written: a field left out keeps its current value and an
- explicit null clears it, the same as /key/update.
+ Only the fields an item carries are written: a field left out keeps its current value, and a field
+ sent explicitly, null included, is applied exactly as /key/update applies it.
Returns:
- total_requested: int - Total number of keys requested for update
diff --git a/ui/litellm-dashboard/src/lib/http/schema.d.ts b/ui/litellm-dashboard/src/lib/http/schema.d.ts
index 4ada2c3372b..e1a4f4a743d 100644
--- a/ui/litellm-dashboard/src/lib/http/schema.d.ts
+++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts
@@ -7695,8 +7695,8 @@ export interface paths {
* - tags: Optional[List[str]] - Tags for organizing keys
* - object_permission: Optional[LiteLLM_ObjectPermissionBase] - key-specific object permission, as on /key/update
*
- * Only the fields an item carries are written: a field left out keeps its current value and an
- * explicit null clears it, the same as /key/update.
+ * Only the fields an item carries are written: a field left out keeps its current value, and a field
+ * sent explicitly, null included, is applied exactly as /key/update applies it.
*
* Returns:
* - total_requested: int - Total number of keys requested for update