Skip to main content
DELETE
Delete message

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

threadId
string
required

The ID of the thread containing the message.

Pattern: ^[0-9a-z]+$
messageId
string
required

The ID of the message to delete.

Pattern: ^[0-9a-z]+$

Body

application/json
deleteForAll
boolean
default:true

Whether to delete the message for all participants or just for yourself. Defaults to true (delete for all).

Response

200 - application/json

OK

success
boolean
required
messageId
string
required
Pattern: ^[0-9a-z]+$
deletedAt
string<date-time>
required