---
title: "Delete Message Route"
method: DELETE
path: "/api/threads/{thread_id}/messages/{message_id}"
tags: ["message"]
---

# Delete Message Route

`DELETE /api/threads/{thread_id}/messages/{message_id}`

Deletes a message by ID.

## Path parameters

- `message_id` string, uuid, required
- `thread_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/cleanlab/apis/agility.md) · [All operations](https://skmtc.dev/cleanlab/apis/agility/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cleanlab/agility/revisions/9e6009a931b6/schema)
