Skip to main content

preview_ack

Creates, updates, deletes, gets or lists a preview_ack resource.

Overview

Namepreview_ack
TypeResource
Idcloudflare.queues.preview_ack

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
ackexecqueue_id, account_idDelete previewed messages from a Queue. Note that messages acknowledged this way aren't considered delivered, they are instantly deleted from this queue and do not affect metrics.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
queue_idstringThe Cloudflare Queue ID.

Lifecycle Methods

Delete previewed messages from a Queue. Note that messages acknowledged this way aren't considered delivered, they are instantly deleted from this queue and do not affect metrics.

EXEC cloudflare.queues.preview_ack.ack
@queue_id='{{ queue_id }}' --required,
@account_id='{{ account_id }}' --required
@@json=
'{
"acks": "{{ acks }}",
"retries": "{{ retries }}"
}'
;