## Delete a message from system

`messages.delete(strmessage_id)`

**delete** `/v3/messages/{messageId}`

Deletes a message from the Linq API only. This does NOT unsend or remove the message
from the actual chat — recipients will still see the message.

### Parameters

- `message_id: str`

### Example

```python
import os
from linq import LinqAPIV3

client = LinqAPIV3(
    api_key=os.environ.get("LINQ_API_V3_API_KEY"),  # This is the default and can be omitted
)
client.messages.delete(
    "69a37c7d-af4f-4b5e-af42-e28e98ce873a",
)
```

#### Response

```json
{
  "error": {
    "status": 400,
    "code": 1002,
    "message": "Phone number must be in E.164 format",
    "doc_url": "https://docs.linqapp.com/error/codes/1xxx/1002/"
  },
  "success": false
}
```
