cURL
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 } ] }
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.
object
Tracking script updated successfully
The response is of type object.