AI Chat Plugin
Update an AI provider credential.
PUT
Body
application/json
tenantobjecttenantIdstringorganizationobjectorganizationIdstringsentTostringproviderIdstringAI provider identifier (e.g. anthropic, openai)
apiKeystringSecret API key (write-only; stored encrypted). Required unless the provider runs without one (local servers).
baseUrlstringCustom base URL for the provider API
enabledbooleantrueWhether this credential is active
isDefaultbooleanfalseWhether this provider is the tenant's default for chat
defaultModelstring | nullPreferred default model id (e.g. claude-sonnet-5); null clears the stored model
isVoiceDefaultbooleanfalseWhether this provider is the tenant's default voice (dictation) provider
speechModelstring | nullPreferred speech-to-text model id (e.g. whisper-1); null clears the stored model
Parameters
idstringrequiredpathResponse
200OK
The credential has been successfully updated. The API key is returned masked.
404Not Found
Record not found