DELETE /v2/threads/{threadId}/messages/{messageId}
Deletes a message by its ID.
Request
- Base URLhttps://api.langtail.com
- Authnone declared. Required headers: X-API-Key
Path parameters
threadIdstring required
The ID of the thread containing the message.
messageIdstring required
The ID of the message to retrieve.
Headers
X-API-Keystring required
Example:<LANGTAIL_API_KEY>
Your Langtail API Key
Response
Successfully deleted message
Example response
{
"object": "thread.message.deleted",
"deleted": true
}Changes
No recorded changes to this operation across all 1 revision of this API.