DELETE /chat/users/{userId}/messages/{messageId}

Delete a chat message that you previously sent to a contact or a channel. In the query parameter, you must provide either of the following:

Note: 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 Edit permission for Chat Messages.

Scope: chat_message:write, chat_message:write:admin

Rate Limit Label: Medium

Servers

Path parameters

Name Type Required Description
userId String Yes
messageId String Yes

Message ID

Query parameters

Name Type Required Description
to_channel String No

The channel Id of the channel where you would like to send the message.

You must provide either to_contact or to_channel as a query parameter to delete a message that was previously sent to either an individual or a chat channel

to_contact String No

The userId or email address of a chat contact to whom you previously sent the message.

Note: You must provide either to_contact or to_channel as a query parameter to delete a message that was previously sent to either an individual or a chat channel respectively.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.