Skip to main content
PUT
/
radar
/
operator
/
v1
/
tracking-scripts
/
{trackingScriptId}
/
filters
Replace tracking script filters
curl --request PUT \
  --url https://api.snitcher.com/radar/operator/v1/tracking-scripts/{trackingScriptId}/filters \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "filters": [
    {
      "tracking_script_filter_field": "country",
      "tracking_script_filter_type": "blacklist",
      "filter_value": "<string>"
    }
  ]
}
'
{
  "success": true,
  "data": [
    {
      "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "filter_value": "<string>",
      "tracking_script_filter_field": "country",
      "tracking_script_filter_type": "blacklist"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.snitcher.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter your personal access token (PAT) to authenticate

Path Parameters

trackingScriptId
string
required

The ID of the tracking script to replace filters for

Example:

"12345"

Body

application/json

New set of tracking script filters to replace existing ones

filters
object[]

Response

200 - application/json

Tracking script filters replaced successfully

success
boolean
Example:

true

data
object[]