provider accounts PATCH /api/environments/{environment_id}/accounts/{id}/
@utdk/posthog /api/environments/{environment_id}/accounts/{id}/
environments_accounts_partial_update
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this account.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsAccountsPartialUpdate
PATCH/api/environments/{environment_id}/accounts/{id}/

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

required

A UUID string identifying this account.

Input

Human-readable name of the account.

Identifier linking this account to its source customer — the analytics group key (the customer's organization id), used to match billing and external records. Optional.

Typed account properties: assignment fields (csm, account_executive, account_owner) and external system identifiers (stripe_customer_id, hubspot_deal_id, billing_id, sfdc_id, zendesk_id, slack_channel_id, usage_dashboard_link). Defaults to an empty object. Unknown keys are rejected.

Tag names attached to the account. Pass a list to replace existing tags.

Short IDs of the internal notebooks linked to this account, used to persist investigations, call notes, and other free-form context. Empty list if no notebooks have been created for the account.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.environmentsAccountsPartialUpdate()