---
title: "设置授权信息"
method: POST
path: "/api/v1/auth/set"
tags: ["Auth"]
---

# 设置授权信息

`POST /api/v1/auth/set`

设置授权信息

## Request body

- V1AuthSetReq
  - `client_id` string
  - `client_secret` string
  - `kb_id` string
  - `proxy` string
  - `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 `200`

OK

- DomainResponse
  - `data` unknown
  - `message` string
  - `success` boolean

---

[API](https://skmtc.dev/chaitin/apis/panda-wiki-api.md) · [All operations](https://skmtc.dev/chaitin/apis/panda-wiki-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chaitin/panda-wiki-api/revisions/c088839a56db/schema)
