Assistants

Delete message

Deletes a message.

delete/threads/{thread_id}/messages/{message_id}

Path parameters

thread_idstring required

The ID of the thread to which this message belongs.

message_idstring required

The ID of the message to delete.

Response

OK

idstring required
deletedboolean required
object'thread.message.deleted' required

Changes

Changed in 2 of the 163 revisions of this API.2

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the non-success response with the status

      response-non-success-status-added