Updates a knowledge base synchronization link.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:UpdateKBSyncLink |
update |
*All Resource
|
None | None |
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 identifier of the knowledge base. |
pkb-xxxxx |
| LinkId |
string |
Yes |
The ID of the synchronization link. |
pkbl-xxxxx |
| SyncIntervalMinutes |
integer |
No |
20 |
20 |
| SyncEnabled |
boolean |
No |
Specifies whether to enable automatic synchronization. This parameter can only be modified individually and cannot be changed together with other configurations. |
false |
| ClientId |
string |
No |
The client ID. |
cli_xxxxxxbe8 |
| ClientSecret |
string |
No |
The client secret. |
****** |
| UserAccessToken |
string |
No |
The new Lark user access token. |
****** |
| UserRefreshToken |
string |
No |
The new Lark user refresh token. This parameter must be passed together with UserAccessToken. Passing empty strings for both parameters deletes the tokens. |
****** |
| UserId |
string |
No |
The ID of the DingTalk user who performs the operation. |
123***56 |
| FeishuChatMemberStaleTtlSeconds |
integer |
No |
The validity period of the successful Lark group member snapshot for fallback reuse, in seconds. This parameter can only be explicitly set for FEISHU synchronization links. A value of -1 indicates that the snapshot never expires. A value of 0 disables snapshot fallback reuse. A positive integer indicates the maximum age of the snapshot allowed for reuse. If this parameter is omitted, the original value is retained. Explicitly passing -1 restores the default behavior. |
-1 |
| McpEndpoint |
string |
No |
The endpoint of the DingTalk document MCP server. |
https://mcp-gw.dingtalk.com/server/1a2b3cxxxxxx789?key=d5e6fxxxxxx876 |
| SheetMcpEndpoint |
string |
No |
The endpoint of the DingTalk sheet MCP server. |
https://mcp-gw.dingtalk.com/server/1a2b3cxxxxxx567?key=d5e6fxxxxxx543 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| LinkId |
string |
The ID of the synchronization link. |
pkbl-xxxxx |
| RequestId |
string |
Id of the request |
EBEAA83D-1734-42E3-85E3-E25F6E****** |
| SyncSchedule |
string |
The scheduling 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.