Skip to main content
PATCH
/
radar
/
operator
/
v1
/
tracking-scripts
/
{trackingScriptId}
Update a tracking script
curl --request PATCH \
  --url https://api.snitcher.com/radar/operator/v1/tracking-scripts/{trackingScriptId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "active": "false"
}
'
{
  "success": true,
  "data": [
    {
      "tracking_script_id": "<string>",
      "internal_identifier": "<string>",
      "active": true,
      "description": "<string>"
    }
  ]
}

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 update

Example:

"12345"

Body

application/json

Tracking script update parameters

active
boolean
required

Boolean to deactivate or reactivate the tracking script

Example:

"false"

Response

200 - application/json

Tracking script updated successfully

success
boolean
Example:

true

data
object[]