external-keys
Toggle External Key
Toggle enabled/disabled state without re-entering API key value.
Issue #105: Enable/disable keys for reranker provider switching. Issue #246: current_context_id removed - use None
Rules:
- A protected key cannot be disabled (Issue #1613: OPENAI_API_KEY, or any key whose provider is openai, while OpenAI embeddings are in use — see services/external_key_protection.py)
- Only ONE reranker (Cohere/Voyage) can be enabled at a time
Issue #381: Owner-only (router-level dependency).
patch/api/v1/external-keys/{key_name}/toggle
Request
- Base URL: https://memory.kagura-ai.com (the document declares no server; this is the origin it was published from)
- URL: https://memory.kagura-ai.com/api/v1/external-keys/{key_name}/toggle
- Auth: none declared
Path parameters
key_namestring required
Headers
authorizationstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.