ConversationsMessage

Delete Service Conversation Message

DELETE
/v1/Services/{ChatServiceSid}/Conversations/{ConversationSid}/Messages/{Sid}

Remove a message from the conversation

Authorization

accountSid_authToken
AuthorizationBasic <token>

In: header

Path Parameters

ChatServiceSid*string

The SID of the Conversation Service the Participant resource is associated with.

Match^IS[0-9a-fA-F]{32}$
Length34 <= length <= 34
ConversationSid*string

The unique ID of the Conversation for this message.

Sid*string

A 34 character string that uniquely identifies this resource.

Match^IM[0-9a-fA-F]{32}$
Length34 <= length <= 34

Header Parameters

X-Twilio-Webhook-Enabled?ServiceConversationMessageWebhookEnabledType

The X-Twilio-Webhook-Enabled HTTP request header

Value in

  • "true"
  • "false"

Response Body

curl -X DELETE "https://example.com/v1/Services/stringstringstringstringstringstri/Conversations/string/Messages/stringstringstringstringstringstri"
Empty