# 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 %}
