Delete Message
DELETE
/api/threads/{threadId}/messages/{messageId}Deletes a specific message from a thread. Deleting an assistant message also deletes its tool-result messages. The runtime attempts to remove attachment files for all deleted messages. Deleting a queued message cancels its delivery. The route sends no deletion frame on the thread stream.
threadIdstringrequiredThe unique thread identifier (UUID)
messageIdstringrequiredThe unique message identifier
successbooleanrequiredWhether the deletion was successful