Skip to main content
Use XACKDEL to acknowledge entries in a consumer group and delete them from the stream in one atomic step. It combines what XACK and XDEL do, which is what you want when a stream serves a single group and processed entries have no reason to stay around. IDS <numids> introduces the list of IDs and the count must match. The reference policy controls what happens to consumer group references of the deleted entries: KEEPREF, the default, leaves references in other groups’ pending lists in place, DELREF removes them everywhere, and ACKED only deletes entries that every group has read and acknowledged, leaving the rest in the stream. The reply holds one status code per requested ID, in order.

Syntax

Arguments

Response

The reply reports the result of the operation. Error replies have the same shape in RESP2 and RESP3 and are surfaced as exceptions by the SDKs below.
Client libraries often decode bulk strings, maps, sets, and numeric strings into language-native values. The table describes the Redis wire reply.

Examples

TCP examples use the TLS REDIS_URL from the Upstash console. REST examples use UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN.