Delete a conversation
Deletes every message in a conversation, as DELETE /messages/ does for one: the conversation and its messages are removed from every list at once, attachments within 48 hours, and the phone is asked to delete the conversation’s messages on its side up to the newest message deleted here (anything it holds that is newer, including texts it has not passed on yet, stays). The response returns at once, with phone_deletion.status pending while the phone has not answered; Axilio keeps checking for up to 7 days, asking the phone again until it confirms (phone_deletion.next_check_at is the next check), and a phone not yet set up to delete messages (not_default_app) is asked once it can. GET /messages/ on any of the deleted messages shows where the phone’s copy stands, and each message fires message.deleted, then message.phone_deleted or message.phone_delete_failed, as DELETE /messages/ describes. Deleting a conversation does not stop a message in it the phone is still sending. A conversation with no messages left is a 404.
Authorizations
Customer API key (axl_ prefix).
Path Parameters
conversation identifier
Response
OK
A deleted conversation: every message in it is deleted and it no longer appears in any list or read.
When the conversation was deleted.
The deleted conversation's id.
How many messages were deleted.
What the delete did to the conversation on the phone. Each deleted message's GET /messages/{message_id} shows the same outcome.