latestOpenAPI 3.1.0MIT2026-08-177111141.8 KB

c4c26e52b406

Messages

Cancel scheduled messages

Cancel one or more scheduled message batches by ID or by batch metadata. If using metadata, all batches matching the given key and value will be cancelled.

To successfully cancel a batch, you must do so before the send_after time. Batches without a send_after value (i.e., batches that are sent immediately) cannot be cancelled.

Cancellation is performed asynchronously. This means that this method always returns a 200 response, even if the cancellation fails.

delete/v1/projects/{project_id}/messages

Request body

OR

Response

OK