Auth

设置授权信息

设置授权信息

post/api/v1/auth/set

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/auth/set
  • Auth
    API key in header Authorization

Request body

client_idstring
client_secretstring
kb_idstring
proxystring
source_type'dingtalk' | 'feishu' | 'wecom' | 'oauth' | 'github' | 'cas' | 'ldap' | 'widget' | 'dingtalk_bot' | 'feishu_bot' | 'lark_bot' | 'wechat_bot' | 'wecom_ai_bot' | 'wechat_service_bot' | 'discord_bot' | 'wechat_official_account' | 'openai_api' | 'mcp_server' required

Response

OK

dataunknown
messagestring
successboolean

Changes

No recorded changes to this operation across all 54 revisions of this API.