Back to Documentation
Tag Operations Node

Clear Tags by Query

Remove one or more tags from all entities matching a tag query

Inputs

querystringrequired

Tag to match entities (e.g. reel:1). All entities with this tag are affected.

tagsToRemovestringrequired

Tag(s) to remove. Use a single tag or comma-separated list (e.g. win:value, win:pos).

Outputs

clearedCountnumber

Total number of tag removals performed

Overview

Finds all entities that have the query tag, then removes each of the tags listed in tagsToRemove from those entities. Useful for bulk cleanup (e.g. clear all win* tags from positions after payout).

Usage example

Clear by Query:
  query: "position:1_1"   // or a category that matches all positions
  tagsToRemove: "win:value, win:pos"
// Removes win:value and win:pos from every matching entity