- Replace the file download telemetry configuration
Retrieve the file download telemetry configuration
Replace the file download...
Replaces your organization's file download telemetry configuration with the configuration you send. Any rule you don't include is deleted.
A rule with an id updates the existing rule with that id. A rule without an id is created. Rules are evaluated in the order you send them, and the first rule that matches wins.
To change part of the configuration, retrieve it first, apply your changes, and send the complete configuration back.
Security
x-api-key
PUT
- Remove all rules
- Collect telemetry for the Engineering group on company domains
curl -i -X PUT \
https://api.pushsecurity.com/v1/telemetry/fileDownload/configuration \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"globals": {},
"rules": []
}'Response
{ "globals": {}, "rules": [ { "id": "c478966c-f927-411c-b919-179832d3d50c", "name": "Collect download telemetry for Engineering", "enabled": true, "mode": "ON", "criteria": { "employeeIds": { "matches": [ … ] }, "employeeGroups": { "matches": [ … ] }, "profileScope": { "matches": [ … ] } } } ] }