Skip to main content
POST
/
track
/
setTracked
curl -X POST https://app.drime.cloud/api/v1/track/setTracked \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "file_id": 487159699,
    "tracked": true
  }'
{
  "updated": true,
  "status": "success"
}

Overview

Enables or disables view/download tracking for a specific file.

Request Body

file_id
integer
required
File entry ID
tracked
boolean
required
true to enable tracking, false to disable

Response

updated
boolean
Whether the update was successful
status
string
Request status (success)
curl -X POST https://app.drime.cloud/api/v1/track/setTracked \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "file_id": 487159699,
    "tracked": true
  }'
{
  "updated": true,
  "status": "success"
}