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
Path parameters
-
The SID of the Conversation Service the Participant resource is associated with.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IS[0-9a-fA-F]{32}$
. -
The unique ID of the Conversation for this message.
-
A 34 character string that uniquely identifies this resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IM[0-9a-fA-F]{32}$
.
DELETE
/v1/Services/{ChatServiceSid}/Conversations/{ConversationSid}/Messages/{Sid}
curl \
--request DELETE 'https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Conversations/{ConversationSid}/Messages/{Sid}' \
--user "username:password" \
--header "X-Twilio-Webhook-Enabled: true"