curl --request PUT \
--url https://demo.enneo.ai/api/mind/knowledgeSourceStructure/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"id": 1,
"name": "Fragen",
"type": "faq",
"description": "Allgemeine Fragen",
"parent": 0,
"children": [
{
"id": 2,
"name": "Allgemeine Fragen",
"parent": 1,
"children": [
{}
]
}
]
}
]
'{
"success": true
}JWT-based authentication
The unique identifier of the knowledge source structur
1
The name of the knowledge source structure
"Fragen"
The type of the knowledge source structure
"faq"
The description of the knowledge source structure
"Allgemeine Fragen"
The parent id of the knowledge source structure
0
Successful operation
Data format of Enneo success messages
Operation was successful
true
curl --request PUT \
--url https://demo.enneo.ai/api/mind/knowledgeSourceStructure/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"id": 1,
"name": "Fragen",
"type": "faq",
"description": "Allgemeine Fragen",
"parent": 0,
"children": [
{
"id": 2,
"name": "Allgemeine Fragen",
"parent": 1,
"children": [
{}
]
}
]
}
]
'{
"success": true
}