Path Parameters
Analytics target ID.
GET Behavior
- Returns
targetplussummary(profile, totals, timeline, top posts, and refresh status) for the target. - This mirrors the per-account detail panel used in the internal UI.
PATCH Body
At least one of these fields is required:New display name (nullable).
Refresh policy patch (for example
freeDailyRefresh, maxPosts).Favorite toggle stored in metadata.
DELETE Behavior
Deletes the target from the authenticated key scope.Error Responses
400 missing_target_id— missing path parameter400 invalid_json— PATCH body is not valid JSON400 invalid_payload— PATCH body must be a JSON object400— no valid updates provided404— target not found in current key scope401/403— authentication failed or key lacks workspace access500— unexpected database/analytics service error
error_code field.