curl --request PUT \
--url https://call.aiployees.com/api/user/knowledgebases/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>"
}
'{
"message": "Knowledgebase updated successfully.",
"data": {
"id": 1,
"name": "Updated Product Documentation",
"description": "Updated description for our technical docs",
"status": "active",
"status_label": "Active",
"updated_at": "2025-01-08T15:45:00.000000Z"
}
}
Update an existing knowledgebase
curl --request PUT \
--url https://call.aiployees.com/api/user/knowledgebases/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>"
}
'{
"message": "Knowledgebase updated successfully.",
"data": {
"id": 1,
"name": "Updated Product Documentation",
"description": "Updated description for our technical docs",
"status": "active",
"status_label": "Active",
"updated_at": "2025-01-08T15:45:00.000000Z"
}
}
{
"message": "Knowledgebase updated successfully.",
"data": {
"id": 1,
"name": "Updated Product Documentation",
"description": "Updated description for our technical docs",
"status": "active",
"status_label": "Active",
"updated_at": "2025-01-08T15:45:00.000000Z"
}
}