event_definitions

Mark multiple event definitions as verified or unverified in one request.

In the same vein as bulk_update_tags, but verified lives on the enterprise EnterpriseEventDefinition extension rather than the base row, so this action:

  • requires an enterprise license;
  • scopes by project (team__project_id) and relies on project membership — the same boundary the single-object update path uses — rather than object-level RBAC;
  • lazily promotes ingestion-created base rows to EnterpriseEventDefinition (mirroring _get_event_definition) before setting verified;
  • mirrors the single-object semantics: verifying stamps verified_by/verified_at and unhides the event (an event cannot be both hidden and verified); unverifying clears them;
  • logs a "changed" activity per event so the History tab matches the single-object path.

Events already in the target state are skipped (not re-written, not logged).

post/api/projects/{project_id}/event_definitions/bulk_update_verified/

Request

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

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

idsstring[] required

List of event definition UUIDs to update.

verifiedboolean required

Target verified state to apply to every matched event. true marks the events as verified (and unhides them, since an event cannot be both hidden and verified); false unverifies them.

Response

Changes

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