---
title: "Delete message by ID"
method: DELETE
path: "/messages/{messageId}"
tags: ["SMS Messaging"]
---

# Delete message by ID

`DELETE /messages/{messageId}`

## Path parameters

- `messageId` string, required

## Response `204`

No Content

## Other responses

- `404` — Not found

## Changes

- **2022-07-04** `48bb1cc832d5` — 8 warning
  - the optional response header `Alt-Svc` removed for the status `204`
  - the optional response header `Alt-Svc` removed for the status `404`
  - the optional response header `Server` removed for the status `204`
  - the optional response header `Server` removed for the status `404`
  - …4 more

[Change history](https://skmtc.dev/messagebird/apis/messagebird-sms-api/changes/messages/:messageId/delete.md)

---

[API](https://skmtc.dev/messagebird/apis/messagebird-sms-api.md) · [All operations](https://skmtc.dev/messagebird/apis/messagebird-sms-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/messagebird/messagebird-sms-api/revisions/48bb1cc832d5/schema)
