Updates a knowledge base synchronization link.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-beijing |
| KnowledgeBaseId |
string |
Yes |
The unique ID of the knowledge base. |
pkb-xxxxx |
| LinkId |
string |
Yes |
The synchronization link ID. |
pkbl-xxxxx |
| SyncIntervalMinutes |
integer |
No |
20 |
20 |
| SyncEnabled |
boolean |
No |
Specifies whether to enable automatic synchronization. This parameter can only be modified independently and cannot be changed together with other configurations. |
false |
| ClientId |
string |
No |
The client ID. |
cli_xxxxxxbe8 |
| ClientSecret |
string |
No |
The client secret. |
****** |
| UserId |
string |
No |
The new Lark user access token. |
****** |
| McpEndpoint |
string |
No |
The DingTalk user ID of the operator. |
123***56 |
| SheetMcpEndpoint |
string |
No |
The DingTalk document MCP Server endpoint. |
https://mcp-gw.dingtalk.com/server/1a2b3cxxxxxx789?key=d5e6fxxxxxx876 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| LinkId |
string |
The synchronization link ID. |
pkbl-xxxxx |
| RequestId |
string |
Id of the request |
EBEAA83D-1734-42E3-85E3-E25F6E****** |
| SyncSchedule |
string |
The scheduled time of the synchronization task. |
*/20 * * * * |
Examples
Success response
JSON format
{
"LinkId": "pkbl-xxxxx",
"RequestId": "EBEAA83D-1734-42E3-85E3-E25F6E******",
"SyncSchedule": "*/20 * * * *"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.