Delete Message

Deletes a message.

DELETEhttps://api.portkey.ai/v1/threads/{thread_id}/messages/{message_id}
Path parameters
thread_id*string

The ID of the thread to which this message belongs.

message_id*string

The ID of the message to delete.

Response

OK

Body
id*string
deleted*boolean
object*enum
thread.message.deleted
Response
{
  "id": "text",
  "deleted": false,
  "object": "thread.message.deleted"
}

Last updated