# Deletar uma mensagem

<mark style="color:red;">`DELETE`</mark> `https://api.astraapi.com/api/message/{{instanceId}}/{{messageId}}`

#### Path Parameters

| Name                                         | Type   | Description                     |
| -------------------------------------------- | ------ | ------------------------------- |
| instanceId<mark style="color:red;">\*</mark> | Number | id da instancia                 |
| messageId<mark style="color:red;">\*</mark>  | String | id da mensagem que será apagada |

#### Query Parameters

| Name                                    | Type   | Description                                                                                |
| --------------------------------------- | ------ | ------------------------------------------------------------------------------------------ |
| phone<mark style="color:red;">\*</mark> | String | telefone ou grupo que referente ao chat que será deletada a mensagem com o @s.whatsapp.net |

{% tabs %}
{% tab title="200: OK " %}

{% endtab %}
{% endtabs %}
