Delete documents

DEL

Deletes documents from the conversation. Also suitable for database and filesystem cleanup.

You can get a list of document IDs in your conversation with a Conversation information request.

Path parameters

conversation_idstringRequired

The conversation ID.

You can list conversations and get their IDs with the List conversations endpoint.

Headers

IB-ContextstringOptional

Specify whether to use your community account or organization account to complete the request. To use your community account, define as your user ID. To use your organization account, define as your organization ID. If unspecified, defaults to community account context. See Authorization and context identification for details.

Query parameters

idsintegerOptional

List of document IDs to be deleted.