Remove the contents of a previously sent message.
Response format | JSON |
---|---|
Requires authentication? | Yes |
curl -X DELETE \
-u '[SID]:[TOKEN]' \
-H 'Content-Type: application/json' \
'https://api.essential.to/v2/account/messages/3mesNha3El_vwtUUC-iW8Q'
# Sample response
{
"status": "sent",
"body": "xxxx xxx xxxx",
"media_urls": null,
"notified_received_at": null,
"notified_received_result": null,
"onstatus_url": null,
"notified_status_at": null,
"notified_status_result": "disabled",
"status_updated_at": "2017-01-25T23:11:15.000Z",
"created_at": "2017-01-25T23:11:10.000Z",
"updated_at": "2017-01-25T23:22:35.525Z",
"delivery_attempts": 1,
"delivery_attempted_at": "2017-01-25T23:11:14.000Z",
"msecs_in_flight": 5000,
"received_at": null,
"dr_received_at": null,
"sid": "3mesNha3El_vwtUUC-iW8Q",
"account_sid": "p03Gjl8Uzn0RkZSpHXHnrw",
"channel_sid": "p03Gjl8Uzn0RkZSpHXHnrw",
"transport_sid": "p03Gjl8Uzn0RkZSpHXHnrw",
"subscriber_sid": "p03Gjl8Uzn0RkZSpHXHnrw",
"to": "+12065551212",
"from": "+12057378302"
}
Python coming soon.
Node coming soon.