> For the complete documentation index, see [llms.txt](https://developer.acquire.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.acquire.io/rest-apis/conversation/conversation-or-cases/messages-1/delete-message.md).

# Delete Message

## Delete a message

<mark style="color:red;">`DELETE`</mark> `https://{{account_id}}.acquire.io/api/v1/crm/objects/case-message/{{messageId}}`

Deletes a message. The **messageId** must be passed into the endpoint as a path parameter. **Warning:** This action cannot be undone.&#x20;

#### Path Parameters

| Name                                        | Type    | Description       |
| ------------------------------------------- | ------- | ----------------- |
| messageId<mark style="color:red;">\*</mark> | integer | The message's ID. |

#### Headers

| Name                                            | Type   | Description         |
| ----------------------------------------------- | ------ | ------------------- |
| Authorization<mark style="color:red;">\*</mark> | string | Bearer {{API\_KEY}} |

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

```
{
  "data": {
    "deleted": 1
  }
}
```

{% endtab %}
{% endtabs %}
