---
title: "Delete Message For Everyone"
method: DELETE
path: "/chat/deleteMessageForEveryone/{instance}"
tags: ["Chat Controller"]
---

# Delete Message For Everyone

`DELETE /chat/deleteMessageForEveryone/{instance}`

Delete Message For Everyone

## Path parameters

- `instance` string, required

## Request body

- object
  - `id` string, required — Message ID
  - `remoteJid` string, required — Chat contact or group remote JID
  - `fromMe` boolean, required — If the message was sent by the instance owner or the contact
  - `participant` string — Participant for group messages only TODO

## Response `201`

Created

- object — Schema representing a WhatsApp protocol message, including the key, message content, timestamp, and status.
  - `key` object — The key that identifies the message in the chat.
    - `remoteJid` string — The remote JID (Jabber ID) of the WhatsApp account.
    - `fromMe` boolean — Indicates whether the message was sent by the user.
    - `id` string — The ID of the message.
  - `message` object — The content of the message.
    - `protocolMessage` object — Details of the protocol message.
      - `key` object — The key that identifies the referenced message.
        - `remoteJid` string — The remote JID (Jabber ID) of the WhatsApp account in the referenced message.
        - `fromMe` boolean — Indicates whether the referenced message was sent by the user.
        - `id` string — The ID of the referenced message.
      - `type` string — The type of protocol message, e.g., 'REVOKE'.
  - `messageTimestamp` string — The timestamp of the message, represented as a string.
  - `status` string — The status of the message, such as sent, received, or pending.

## Changes

- **2024-10-14** (v2) `c153448703e5` — 1 breaking, 6 info
  - removed the success response with the status `200`
  - api operation id `deleteMessageForEveryone` was added
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - api tag `Chat Controller` added
  - …3 more
- **2024-09-09** (v2) `0c4620ca5ed5` — 2 breaking, 5 info
  - removed the request body
  - removed the success response with the status `201`
  - api operation id `deleteMessageForEveryone` removed and replaced with ``
  - the endpoint scheme security `ApiKeyAuth` was removed from the API
  - …3 more

[Change history](https://skmtc.dev/evolution-foundation/apis/openapi/changes/chat/deleteMessageForEveryone/:instance/delete.md)

---

[API](https://skmtc.dev/evolution-foundation/apis/openapi.md) · [All operations](https://skmtc.dev/evolution-foundation/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/evolution-foundation/openapi/revisions/153363ee7f38/schema)
