AddToBlocklistByIdInput is an input datatype for adding a query to a blocklist based on a matching pattern. It's used by the addToBlocklistById() mutation field.

Table: AddToBlocklistByIdInput

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
clusterWideBoolean    Whether to apply the pattern globally. Requires the ManageCluster permission.
patternStringyes   The pattern to match
typeBlockedQueryMatcherTypeyes   Whether the pattern should be matched exactly or interpreted as a regex pattern
viewIdString    Limits the scope of the pattern to a specific view preventing matching queries from execution in that context only.