Skip to main content
DELETE
Two destructive operations on messages, both requiring the messages:send scope.

Delete a message

DELETE /v1/messages/{id} permanently deletes the message row. Attachment rows cascade-delete, and the stored objects — HTML body, raw archive, and every attachment — are removed from R2 when storage is bound. This cannot be undone.

Cancel a scheduled message

DELETE /v1/messages/{id}/schedule cancels a scheduled send before it dispatches. The record is kept for audit with status cancelled and can never be dispatched afterwards — the scheduler only picks up rows still marked scheduled. No quota is consumed by a cancelled message.