🎉 Portkey raises Series A - $15M to build AI that never breaks  Read announcement →
{}Updates an existing API key. The API key type (user vs service) and associated user_id cannot be changed after creation.
{}Documentation Index
Fetch the complete documentation index at: https://portkey-docs-mintlify-streaming-output-guardrails-1775146675.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
"Development API Key"
"API key for development environment"
Show child attributes
Show child attributes
{
"credit_limit": 10,
"periodic_reset": "monthly",
"alert_threshold": 8
}
Whether to reset current usage. If the current status is exhausted, this will change it back to active.
true
["completions.write"]
Show child attributes
ISO 8601 datetime at which this key expires.
"2026-12-31T23:59:59Z"
Update or replace the automatic key rotation configuration. Requires either rotation_period or next_rotation_at.
Show child attributes
OK
The response is of type object.
Was this page helpful?