跳转到主要内容
POST
/
enterprise
/
{organizationId}
/
authentication
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/enterprise/{organizationId}/authentication \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "feishu",
  "config": {
    "appId": "<string>",
    "appSecret": "<string>"
  },
  "name": "<string>",
  "id": "<string>"
}
'
{
  "type": "feishu",
  "config": {
    "appId": "<string>",
    "appSecret": "<string>"
  },
  "id": "<string>",
  "name": "<string>"
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

resourceId
string
必填

请求体

application/json
type
enum<string>
必填
可用选项:
feishu
config
object
必填
name
string
必填
id
string

响应

201 - application/json

Successful created

type
enum<string>
必填
可用选项:
feishu
config
object
必填
id
string
必填
name
string
必填
Last modified on December 10, 2025