PUT
/api/security_ai_assistant/knowledge_base/entries/{id}
curl \
--request PUT 'https://localhost:5601/api/security_ai_assistant/knowledge_base/entries/12345' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '"{\n \"content\": \"To reset your password, go to the settings page, click 'Reset Password', and follow the instructions.\",\n \"tags\": [\n \"password\",\n \"reset\",\n \"help\",\n \"update\"\n ],\n \"title\": \"How to reset a password (updated)\"\n}"'
Request example
{
"content": "To reset your password, go to the settings page, click 'Reset Password', and follow the instructions.",
"tags": [
"password",
"reset",
"help",
"update"
],
"title": "How to reset a password (updated)"
}
Response examples (200)
{
"content": "To reset your password, go to the settings page, click 'Reset Password', and follow the instructions.",
"id": "12345",
"tags": [
"password",
"reset",
"help",
"update"
],
"title": "How to reset a password (updated)"
}
Response examples (400)
{
"error": "Invalid input",
"message": "The 'content' field cannot be empty."
}