Skip to main content

Remove a file from a chat session

DELETE 

/api/chat/sessions/:session_id/attachments/:document_id

Drop a file from a chat session's attachments

With ?delete_document=true, the underlying private document is also deleted when the requesting user owns it.

Request

Responses

Unprocessable Entity