Remove a message from the conversation
A Service Message resource represents a message in a conversation within a specific service.
Remove a message from the conversation
Headers
-
X-Twilio-Webhook-Enabled
string The X-Twilio-Webhook-Enabled HTTP request header
Values are
true
orfalse
.
Path parameters
-
ChatServiceSid
string Required The SID of the Conversation Service the Participant resource is associated with.
-
ConversationSid
string Required The unique ID of the Conversation for this message.
-
Sid
string Required A 34 character string that uniquely identifies this resource.
DELETE
/v1/Services/{ChatServiceSid}/Conversations/{ConversationSid}/Messages/{Sid}
curl \
-X DELETE https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Conversations/{ConversationSid}/Messages/{Sid} \
--user "username:password" \
-H "X-Twilio-Webhook-Enabled: true"