latestOpenAPI 3.1.02026-08-211286041.7 MB

b0c8a1820333

Message

Delete message payloads

Delete the payloads from the given messages under the current application

Useful in cases when a message was accidentally sent with sensitive content. A message can't be replayed or resent once its payload has been deleted (or has expired).

post/api/v1/app/{app_id}/msg/bulk-expunge

Path parameters

app_idstring required

The Application's ID or UID.

Example:unique-identifier

The Application's ID or UID.

Headers

idempotency-keystring

The request's idempotency key

Request body

idsstring[]

Message ID or UID to delete

Example request

{
  "ids": [
    "unique-identifier"
  ]
}

Response

resultsobject required

Results of expunging (by ID)