Skip to main content
PATCH
Updates settings for a single tracked analytics target.

Path Parameters

string
required
Analytics target ID.

Body Parameters

At least one of these fields is required:
string
New display name (nullable).
object
Refresh policy patch (for example freeDailyRefresh, maxPosts).
boolean
Favorite toggle stored in metadata.

Error Responses

  • 400 missing_target_id - missing path parameter
  • 400 invalid_json - PATCH body is not valid JSON
  • 400 invalid_payload - PATCH body must be a JSON object
  • 400 - no valid updates provided
  • 404 - target not found in current key scope
  • 401/403 - authentication failed or key lacks workspace access
  • 500 - unexpected database/analytics service error
All error responses from analytics endpoints include an error_code field.