Skip to main content
PUT
Stores a provider API key at the organization level. If a key already exists for this provider, it is replaced. The policy field controls whether this key is enforced for all members or offered as an optional fallback. Required scope: integrations:write
The X-Organization-Id header must match the org_id path parameter.
string
required
The organization ID.
string
required
The provider name. One of: anthropic, openai, cursor, devin, gemini, copilot.
string
required
Bearer token. Authorization: Bearer runtm_xxx
string
required
Must match the org_id path parameter.
string
required
The provider API key. Minimum 8 characters.
string
required
Key policy. enforced overrides user keys; optional serves as a fallback.
string
The provider name.
boolean
Always true after a successful set.
string
Masked key preview.
string
ISO 8601 timestamp of the update.