latestSwagger 2.02026-08-101561322.2 MB

3e4029d19684

Outbound Message Sessions

Delete sessions (bulk)

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Sessions/deleteMessageSessionsBulk" target="_blank">Try in sandbox</a><br>Delete message sessions, together with all nested messages, by given ID(s) or delete all message sessions.

post/api/v2/sessions/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"
}

Response

Request executed with success.