Documentation navigation

Government Context MCP

gc_unfollow

Unfollow a View

Remove the authenticated user's follow on a View. Idempotent — the result reports whether a follow existed. Re-following later restores any customized alert triggers.

Input

ParameterTypeDescription
targetRequiredobjectThe View to follow — anything gc_search marks followable: true.

Annotations

{
  "readOnlyHint": false,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false
}

Examples

Remove a follow

Idempotent; was_following reports whether a follow existed.

{
  "target": {
    "type": "topic",
    "id": "air-quality"
  }
}
{
  "following": false,
  "was_following": true,
  "target": {
    "type": "topic",
    "id": "air-quality",
    "title": "Air Quality"
  }
}