Update a knowledge source
Change a source's title, text, path rules or schedule.
PATCH
/api/v1/knowledge/sources/:idScope
bot:writeA changed text is indexed again at once, so the bot uses it straight away.
Body
Send a JSON object.
Prop
Type
Example request
curl -X PATCH "https://api.pedibee.com/api/v1/knowledge/sources/$SOURCE_ID" \
-H "Authorization: Bearer $PEDIBEE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Parcels to Canada take seven days."
}'