Skip to main content
DELETE
/
api
/
chats
/
{id}
/
messages
/
trailing
cURL
curl --request DELETE \
  --url https://api.recoupable.com/api/chats/{id}/messages/trailing
{
  "status": "success",
  "chat_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "from_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Documentation Index

Fetch the complete documentation index at: https://developers.recoupable.com/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

id
string<uuid>
required

The unique identifier (UUID) of the chat room.

Query Parameters

from_message_id
string<uuid>
required

The message UUID from which trailing messages should be deleted (inclusive).

Response

Trailing messages deleted successfully

status
enum<string>
required

Status of the request

Available options:
success
Example:

"success"

chat_id
string<uuid>
required

The chat UUID where deletion was applied.

from_message_id
string<uuid>
required

The message UUID used as the trailing deletion boundary.