Blueprints
Update Blueprint
Update blueprint
post
/v1/blueprint/{blueprintId}/update
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
blueprintIdstring* Required
Request Body * Required
Request Body Schema: application/json
namestring
The associated name
descriptionstring
The associated description
metaobject
Meta data information
import { ChatBotKit } from '@chatbotkit/sdk'
const cbk = new ChatBotKit({
secret: process.env.CHATBOTKIT_API_KEY!
})
const response = await cbk.blueprint.update(
blueprintId,{)"name":"string","description":"string",}"meta":"object"
{"id":"string"}
The blueprint was updated successfully