> ## Documentation Index
> Fetch the complete documentation index at: https://doc.evolution-api.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Message for Everyone

> Delete Message For Everyone



## OpenAPI

````yaml openapi-v2 DELETE /chat/deleteMessageForEveryone/{instance}
openapi: 3.0.3
info:
  title: Evolution API
  version: 2.1.1
servers:
  - url: https://{server-url}
    variables:
      server-url:
        default: evolution-example
        description: The URL of your EvolutionAPI server
    description: Your instance domain
security: []
paths:
  /chat/deleteMessageForEveryone/{instance}:
    delete:
      tags:
        - Chat Controller
      summary: Delete Message For Everyone
      description: Delete Message For Everyone
      operationId: deleteMessageForEveryone
      parameters:
        - name: instance
          in: path
          required: true
          description: Name instance
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - id
                - remoteJid
                - fromMe
                - paticipant
              properties:
                id:
                  type: string
                  description: Message ID
                remoteJid:
                  type: string
                  description: Chat contact or group remote JID
                fromMe:
                  type: boolean
                  description: If the message was sent by the instance owner or the contact
                participant:
                  type: string
                  description: Participant for group messages only TODO
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                type: object
                properties:
                  key:
                    type: object
                    properties:
                      remoteJid:
                        type: string
                        description: The remote JID (Jabber ID) of the WhatsApp account.
                      fromMe:
                        type: boolean
                        description: Indicates whether the message was sent by the user.
                      id:
                        type: string
                        description: The ID of the message.
                    description: The key that identifies the message in the chat.
                  message:
                    type: object
                    properties:
                      protocolMessage:
                        type: object
                        properties:
                          key:
                            type: object
                            properties:
                              remoteJid:
                                type: string
                                description: >-
                                  The remote JID (Jabber ID) of the WhatsApp
                                  account in the referenced message.
                              fromMe:
                                type: boolean
                                description: >-
                                  Indicates whether the referenced message was
                                  sent by the user.
                              id:
                                type: string
                                description: The ID of the referenced message.
                            description: The key that identifies the referenced message.
                          type:
                            type: string
                            description: The type of protocol message, e.g., 'REVOKE'.
                        description: Details of the protocol message.
                    description: The content of the message.
                  messageTimestamp:
                    type: string
                    description: The timestamp of the message, represented as a string.
                  status:
                    type: string
                    description: >-
                      The status of the message, such as sent, received, or
                      pending.
                description: >-
                  Schema representing a WhatsApp protocol message, including the
                  key, message content, timestamp, and status.
                example:
                  key:
                    remoteJid: 553198296801@s.whatsapp.com
                    fromMe: true
                    id: BAE5EABBD912C4E2
                  message:
                    protocolMessage:
                      key:
                        remoteJid: 553198296801@s.whatsapp.com
                        fromMe: true
                        id: BAE52B567D0E3DD8
                      type: REVOKE
                  messageTimestamp: '1718108455'
                  status: PENDING
      deprecated: false
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: apikey
      description: Your authorization key header

````