DELETE {{baseUrl}}/chat/users/:userId/messages/:messageId?to_contact=<email>&to_channel=<string>
Deletes a chat message previously sent to a contact or a channel. For user-level apps, pass the For an account-level OAuth app, this API can only be used on behalf of a user who is assigned with a role that has the Edit permission for Chat Messages. Scopes: me
value instead of the userId
parameter. chat_message:write
, chat_message:write:admin
Rate Limit Label: Medium
Body
PARAM
Key | Datatype | Required | Description |
to_contact
|
string | The member ID or user ID or email address of a chat contact to whom the message was sent. You must provide this parameter or the `to_channel` parameter. | |
to_channel
|
string | The channel ID where the message was sent. You must provide this parameter or the `to_channel` parameter. |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status
ENDPOINTS