---
title: "Cancel message"
method: DELETE
path: "/3rdparty/v1/messages/{id}"
tags: ["User", "Messages"]
---

# Cancel message

`DELETE /3rdparty/v1/messages/{id}`

Cancels a pending message by ID. The message must be in Pending state.

## Path parameters

- `id` string, required

## Response `200`

Message state after cancellation

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Message not found
- `500` — Internal server error

---

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