---
title: "DELETE /messages/{messageID}"
method: DELETE
path: "/messages/{messageID}"
tags: ["message"]
---

# DELETE /messages/{messageID}

`DELETE /messages/{messageID}`

指定したメッセージを削除します。

## Response `204`

正常に削除できました。

## Other responses

- `403` — 削除できませんでした。指定されたメッセージを削除する権限がありません。
- `404` — 削除できませんでした。指定されたメッセージは存在しません。

## Changes

- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `deleteMessage` was added
- **2019-07-05** `6956f2622a20` — 6 info
  - the endpoint scheme security `traqOAuth2` was added to the API
  - endpoint reactivated
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - …2 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/messages/:messageID/delete.md)

---

[API](https://skmtc.dev/traptitech/apis/traq-api.md) · [All operations](https://skmtc.dev/traptitech/apis/traq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/traptitech/traq-api/revisions/801af87793dd/schema)
