Delete conversations

DELETE /api/security_ai_assistant/current_user/conversations

This endpoint allows users to permanently delete all conversations.

application/json

Body

  • excludedIds array[string]

    Optional list of conversation IDs to delete.

Responses

  • 200 application/json

    Indicates a successful call. The conversations were deleted successfully.

    Hide response attributes Show response attributes object
    • failures array[string]
    • success boolean
    • totalDeleted number
  • 400 application/json

    Generic Error. This response indicates an issue with the request.

    Hide response attributes Show response attributes object
    • error string
    • message string
    • statusCode number
DELETE /api/security_ai_assistant/current_user/conversations
curl \
 --request DELETE 'https://<KIBANA_URL>/api/security_ai_assistant/current_user/conversations' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"excludedIds":["abc123","def456"]}'
Response examples (200)
{
  "success": true
}