managed_viewsets

Enable or disable a managed viewset by kind. PUT /api/environments/{team_id}/managed_viewsets/{kind}/ with body {"enabled": true/false}

put/api/projects/{project_id}/managed_viewsets/{kind}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/managed_viewsets/{kind}/
  • Auth: HTTP bearer

Path parameters

kind'revenue_analytics' | 'engineering_analytics' required
  • revenue_analytics - Revenue Analytics
  • engineering_analytics - Engineering Analytics
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

enabledboolean required

Whether the managed viewset should exist.

Response

enabledboolean required

State the managed viewset is now in.

kind'revenue_analytics' | 'engineering_analytics' required
  • revenue_analytics - Revenue Analytics
  • engineering_analytics - Engineering Analytics

Changes

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