latestSwagger 2.02026-08-101561322.2 MB

3e4029d19684

Outbound Messages

Delete messages (bulk)

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Messages%3A%20Send%0A/deleteOutboundMessagesBulk" target="_blank">Try in sandbox</a><br>Delete outbound messages by the given ID(s) or delete all outbound messages.

post/api/v2/messages/delete

Request body

idsstring

Entity ID(s), separated by comma.

all0 | 1

Default is 0 (false). If set to 1, all the entities will be removed.

Example request

{
  "ids": "1,2,3",
  "all": 1
}

Response

Request executed with success.