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>",
"description": "<string>",
"active": true,
"radar_config": {
"profile_id": "<string>",
"api_endpoint": "<string>",
"cdn": "<string>",
"namespace": "<string>",
"features": {
"debug_mode": true,
"form_tracking": true,
"click_tracking": true,
"session_tracking": true,
"error_capture": true
},
"transport": {
"batch_size": 123,
"flush_interval": 123,
"use_beacon": true,
"blocked_events": [
"<string>"
]
},
"integrations": {
"ga": {
"connections": [
{
"measurement_id": "<string>",
"ga_version": "<string>",
"mappings": [
{
"attribute": "<string>",
"dimension": "<string>",
"fallback_value": "<string>"
}
]
}
]
}
}
}
}
]
}
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>",
"description": "<string>",
"active": true,
"radar_config": {
"profile_id": "<string>",
"api_endpoint": "<string>",
"cdn": "<string>",
"namespace": "<string>",
"features": {
"debug_mode": true,
"form_tracking": true,
"click_tracking": true,
"session_tracking": true,
"error_capture": true
},
"transport": {
"batch_size": 123,
"flush_interval": 123,
"use_beacon": true,
"blocked_events": [
"<string>"
]
},
"integrations": {
"ga": {
"connections": [
{
"measurement_id": "<string>",
"ga_version": "<string>",
"mappings": [
{
"attribute": "<string>",
"dimension": "<string>",
"fallback_value": "<string>"
}
]
}
]
}
}
}
}
]
}
Enter your personal access token (PAT) to authenticate
The ID of the tracking script to update
"12345"
Tracking script update parameters
The body is of type object
.
Tracking script updated successfully
The response is of type object
.