Actions137
- Business Actions
- Add Product to Collection
- Add Tag to Chat
- Create Collection
- Create Product
- Create Tag
- Delete Collection
- Delete Product
- Delete Tag
- Edit Collection
- Edit Tag
- Get Available Categories
- Get Business Profile
- Get Product
- Get Products By Phone
- Get Tag Colors
- List Collection Products
- List Collections
- List Products
- List Tags
- Remove Product From Collection
- Remove Tag From Chat
- Save Catalog Config
- Set Business Hours
- Set Categories
- Chat Actions
- Community Actions
- Contact Actions
- Event Actions
- Group Actions
- Instance Actions
- Interactive Message Actions
- Message Actions
- Message Action Actions
- Message Status Actions
- Newsletter Actions
- Poll Actions
- Privacy Actions
- Profile Actions
- Proxy Actions
- Queue Actions
- Status/Story Actions
- Webhook Actions
Message Action → Delete Message
AI-generatedSummary
Delete a message from a channel or chat, optionally throttling with batch settings.
Inputs
- phone (required) — Phone number with country code
- messageId (required) — ID of the message to act on
- fromMe — Whether the message was sent by you
- requestOptions — Options for advanced request control, such as batching
- allowUnauthorizedCerts — Accept response even if SSL certificate validation fails
- proxy — HTTP proxy to use, e.g. http://username:password@myproxy:3128
- timeout — Time in ms to wait for server response before aborting
Output shape
no body — success/failure only
Response body is empty; the operation succeeds if the server returns a 2xx status, otherwise an error is raised.
Examples
Example 1: Delete a specific message you sent from a group
phone: "5511999999999", messageId: "abc123", fromMe: true
Example 2: Delete messages in batches using requestOptions
phone: "5511999999999", messageId: "msg1", requestOptions: {"batching":{"batchSize":50,"batchInterval":1000}}