/
OP
openai
/
OpenAI API
Search skmtc…
⌘K
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Subscribe
v1
latest
OpenAPI 3.1.0
MIT
2026-07-13
242
959
2.7 MB
Assistants
Deletes a message.
delete
/threads/{thread_id}/messages/{message_id}
Path parameters
thread_id
string
required
The ID of the thread to which this message belongs.
message_id
string
required
The ID of the message to delete.
Response
OK
DeleteMessageResponse
required
id
string
required
deleted
boolean
required
object
'thread.message.deleted'
required