Skip to main content
The dlq.delete method deletes one or more workflow runs from the Dead Letter Queue (DLQ).

Arguments

You can delete DLQ entries by ID, by an array of IDs, or by filters.

By DLQ ID

Pass a single DLQ ID or an array of IDs directly:
Or as an object with dlqIds:

By filters

object
number
Maximum number of messages to process per call. Defaults to 100.
string
A pagination cursor from a previous request.

Delete all

boolean
Set to true to delete all DLQ entries.

Response

number
The number of DLQ entries that were deleted.
string
A pagination cursor. If not returned, all matching entries have been processed.

Usage