Partners
Update Partner User
Update a partner user
Authorization
ChatBotKit API Secret * Required
HTTP Authorization Scheme: bearer
Path Parameters
userIdstring* Required
The ID of the partner user
Request Body * Required
Request Body Schema: application/json
namestring
The associated name
descriptionstring
The associated description
metaobject
Meta data information
imagestring
The image of the partner user
emailstring
The email of the partner user
limitsobject
Limits information
tokensnumber
The tokens limit
conversationsnumber
The conversations limit
messagesnumber
The messages limit
databaseobject
The database limits
datasetsnumber
The datasets limit
recordsnumber
The records limit
skillsetsnumber
The skillsets limit
abilitiesnumber
The abilities limit
filesnumber
The files limit
import { ChatBotKit } from '@chatbotkit/sdk'
const cbk = new ChatBotKit({
secret: process.env.CHATBOTKIT_API_KEY!
})
const response = await cbk.partner.user.update(
userId,{)"name":"string","description":"string","meta":"object","image":"string","email":"string",}"limits":{"tokens":"number","conversations":"number","messages":"number",}"database":{"datasets":"number","records":"number","skillsets":"number","abilities":"number",}"files":"number"
{"id":"string"}