# Creates or updates a LiteLLM integration API key **PUT** `/v1/integrations/litellm/{id}/api-key` **Operation ID**: `upsertApiKey_2` **Summary**: Creates or updates a LiteLLM integration API key ## Tags - LiteLLM Integration ## Parameters - **id** (required) - path - Type: string ## Request Body **Content-Type**: `application/json` **Schema**: `SecretApi` ## Responses ### 204 API key upserted successfully. ### 400 Invalid API key. ### 401 Unauthorized ### 404 Integration not found. ### 503 LiteLLM is rate-limiting or unavailable; retry later.