Bots
Replace a DingTalk app secret
Check a new Client Secret for this bot’s DingTalk app with the same token exchange a new install runs, then store it in place of the current one and push it to every serving daemon. The Client ID stays the bot’s identity; the secret is write-only.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
orgId*string
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/orgs/string/bots/string/dingtalk/credentials" \ -H "Content-Type: application/json" \ -d '{ "clientSecret": "string" }'{ "id": "string", "name": "string", "platform": "string", "prebuilt": true, "slackAppId": "string", "discordAppId": "string", "feishuAppId": "string", "feishuRegion": "feishu", "createdBy": "string", "shareable": true, "transport": "socket", "inUseByAgentId": "string", "agentIds": [ "string" ], "releasedWhenFreed": true, "lastUsedAt": "string", "freedFromAgent": "string", "teamId": "string", "workspaceId": "string", "workspaceName": "string", "revokedAt": "string", "revokedReason": "app_uninstalled", "revokedEvidence": "event", "revokedCode": "string", "credentialRejectedAt": "string", "credentialRejectedCode": "string", "externalAppId": "string", "externalTenantId": "string", "platformConfig": { "property1": "string", "property2": "string" }, "createdAt": "string"}