Teams Integrations

Update Teams Integration

Update a Teams integration

post
/v1/integration/teams/{teamsIntegrationId}/update

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

teamsIntegrationIdstring* Required

The ID of the Teams integration

Request Body * Required

Request Body Schema: application/json

namestring

The associated name

descriptionstring

The associated description

metaobject

Meta data information

blueprintIdstring

The ID of the blueprint

botIdstring

The ID of the bot this configuration is using

botFrameworkAppIdstring

The Microsoft Bot Framework Application ID

botFrameworkAppSecretstring

The Microsoft Bot Framework Application Secret

tenantIdstring

The Microsoft Entra tenant ID

contactCollectionboolean

Weather to collect contacts

sessionDurationnumber

The chat session duration

import { ChatBotKit } from '@chatbotkit/sdk'

const cbk = new ChatBotKit({

secret: process.env.CHATBOTKIT_API_KEY!

})

const response = await cbk.integration.teams.update(

teamsIntegrationId,
{
"name":"string",
"description":"string",
"meta":"object",
"blueprintId":"string",
"botId":"string",
"botFrameworkAppId":"string",
"botFrameworkAppSecret":"string",
"tenantId":"string",
"contactCollection":"boolean",
"sessionDuration":"number"
}
)
{
"id":"string"
}
The Teams integration was updated successfully