web_analytics_achievements

Update Web analytics achievements preferences

Sets the requesting user's per-project Web analytics achievements preferences.

post/api/projects/{project_id}/web_analytics_achievements/preferences/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/web_analytics_achievements/preferences/
  • Auth: none declared

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

achievements_opt_outboolean required

When true, the requesting user has hidden the Web analytics achievements gamification UI and suppressed achievement-unlocked notifications for this project. Scoped per (project, user).

Response

achievements_opt_outboolean required

When true, the requesting user has hidden the Web analytics achievements gamification UI and suppressed achievement-unlocked notifications for this project. Scoped per (project, user).

Changes

No recorded changes to this operation across all 1 revision of this API.