mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
docs(proxy): document explicit key expiration
This commit is contained in:
parent
7d0a906a93
commit
4956fc8404
2 changed files with 2 additions and 0 deletions
|
|
@ -3410,6 +3410,7 @@ async def update_key_fn(
|
|||
- rpm_limit_type: Optional[str] - RPM rate limit type - "best_effort_throughput", "guaranteed_throughput", or "dynamic"
|
||||
- allowed_cache_controls: Optional[list] - List of allowed cache control values
|
||||
- duration: Optional[str] - Key validity duration ("30d", "1h", etc.), null to never expire, or "-1" to never expire (deprecated, use null)
|
||||
- expires: Optional[datetime] - Absolute expiration timestamp. An explicitly supplied duration takes precedence
|
||||
- permissions: Optional[dict] - Key-specific permissions
|
||||
- send_invite_email: Optional[bool] - Send invite email to user_id
|
||||
- guardrails: Optional[List[str]] - List of active guardrails for the key
|
||||
|
|
|
|||
1
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
1
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
|
|
@ -8404,6 +8404,7 @@ export interface paths {
|
|||
* - rpm_limit_type: Optional[str] - RPM rate limit type - "best_effort_throughput", "guaranteed_throughput", or "dynamic"
|
||||
* - allowed_cache_controls: Optional[list] - List of allowed cache control values
|
||||
* - duration: Optional[str] - Key validity duration ("30d", "1h", etc.), null to never expire, or "-1" to never expire (deprecated, use null)
|
||||
* - expires: Optional[datetime] - Absolute expiration timestamp. An explicitly supplied duration takes precedence
|
||||
* - permissions: Optional[dict] - Key-specific permissions
|
||||
* - send_invite_email: Optional[bool] - Send invite email to user_id
|
||||
* - guardrails: Optional[List[str]] - List of active guardrails for the key
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue