Delete conversation by ID Technical Preview; added in 9.2.0

View as Markdown
DELETE /api/agent_builder/conversations/{conversation_id}

Spaces method and path for this operation:

delete /s/{space_id}/api/agent_builder/conversations/{conversation_id}

Refer to Spaces for more information.

Delete a conversation by ID. This action cannot be undone.

[Required authorization] Route required privileges: read_onechat.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

  • conversation_id string Required

    The unique identifier of the conversation to delete.

Responses

  • 200 application/json

    Indicates a successful response

DELETE /api/agent_builder/conversations/{conversation_id}
curl \ --request DELETE 'https://localhost:5601/api/agent_builder/conversations/{conversation_id}' \ --header "Authorization: $API_KEY" \ --header "kbn-xsrf: true"
Response examples (200)
Example response showing that deletion of conversation has been successful
{ "success": true }