agent builder

Delete conversation attachment

Changed on

Spaces method and path for this operation:

<div><span class="operation-verb delete">delete</span>&nbsp;<span class="operation-path">/s/{space_id}/api/agent_builder/conversations/{conversation_id}/attachments/{attachment_id}</span></div>

Refer to Spaces for more information.

Delete an attachment. By default performs a soft delete (can be restored). Use permanent=true to permanently remove unreferenced attachments.<br/><br/>[Required authorization] Route required privileges: agentBuilder:read.

delete/api/agent_builder/conversations/{conversation_id}/attachments/{attachment_id}

Request

  • Base URL
    https://localhost:5601
  • URL
    https://localhost:5601/api/agent_builder/conversations/{conversation_id}/attachments/{attachment_id}
  • Auth
    • API key in header Authorization
    • or HTTP basic

Path parameters

conversation_idstring required

The unique identifier of the conversation.

attachment_idstring required

The unique identifier of the attachment to delete.

Query parameters

permanentboolean

If true, permanently removes the attachment (only for unreferenced attachments).

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Response

Indicates a successful response

Changes

    • warning

      for the path request parameter attachment_id, the maxLength was set to 256

    • warning

      for the path request parameter conversation_id, the maxLength was set to 256