agent builder
Delete conversation attachment
Changed onSpaces method and path for this operation:
<div><span class="operation-verb delete">delete</span> <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 URLhttps://localhost:5601
- URLhttps://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
pathrequest parameterattachment_id, the maxLength was set to256 - warning
for the
pathrequest parameterconversation_id, the maxLength was set to256
- warning