Method: Twilio::REST::Conversations::V1::ServiceContext::ConversationContext::MessageContext#delete
- Defined in:
- lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb
#delete(x_twilio_webhook_enabled: :unset) ⇒ Boolean
Delete the MessageInstance
214 215 216 217 218 219 220 221 222 223 |
# File 'lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb', line 214 def delete( x_twilio_webhook_enabled: :unset ) headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', 'X-Twilio-Webhook-Enabled' => x_twilio_webhook_enabled, }) @version.delete('DELETE', @uri, headers: headers) end |