Bot

Update a bot's knowledge

PATCH
/api/v1/bot/knowledge/{botId}
/api/v1/bot/knowledge/{botId}

The Authorization access token

Authorization

Authorization
Required
<token>

Please enter a valid access token

In: header

Request Body

application/jsonOptional

The list of documents accessible by the bot

documentIdsarray | null

Path Parameters

botId
Required
string

The ID of the bot to update

curl -X PATCH "https://example.com/api/v1/bot/knowledge/string" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "documentIds": null
  }'

OK