---
title: "Delete a scheduled message"
method: DELETE
path: "/discord/messages/{message_id}"
tags: ["Discord"]
---

# Delete a scheduled message

`DELETE /discord/messages/{message_id}`

## Request

- Base URL: `https://api.reacherapp.com/public/v1`
- URL: `https://api.reacherapp.com/public/v1/discord/messages/{message_id}`
- Auth: API key in header `x-api-key` and API key in header `x-shop-id`

Delete a scheduled message (or a whole recurring series by its parent id). An already-sent message can be deleted from the record too; it does not unsend it in Discord. A foreign message id reads as 404.

Requires `read_write` scope. `Idempotency-Key` is optional (a delete is naturally repeatable); `X-Dry-Run: true` checks the message exists and is yours without deleting it. Single shop only.

## Path parameters

- `message_id` integer, required: Message id to delete.

## Headers

- `Idempotency-Key` string, nullable
- `X-Dry-Run` string, nullable

## Response `200`

Successful Response

- DiscordDeleteResponse: Envelope docs for the delete route (runtime returns a JSONResponse).
  - `data` DiscordDeleteResult, required
    - `ok` boolean, required
    - `deleted_id` integer, required: The id that was (or, on a dry run, would be) deleted.
  - `dry_run` boolean

## Other responses

- `400`: Validation error, multi-shop key, or missing/invalid Idempotency-Key.
- `403`: API key lacks `read_write` scope (`WRITE_NOT_PERMITTED`).
- `404`: Shop has no Discord integration, or message not found in this shop.
- `409`: Idempotency conflict.
- `422`: Validation Error
- `429`: Write-tier rate limit exceeded.

## Changes

> 76 revisions in range; 1 not diffed.

- **2026-09-05** `643422c93bd8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/reacherapp/apis/reacher-data-api/changes/discord/messages/:message_id/delete.md)

---

[API](https://skmtc.dev/reacherapp/apis/reacher-data-api.md) - [All operations](https://skmtc.dev/reacherapp/apis/reacher-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/reacherapp/apis/reacher-data-api/revisions/63ce74b30b5a?raw)
