provider accounts PUT /api/projects/{project_id}/accounts/{id}/
@utdk/posthog /api/projects/{project_id}/accounts/{id}/
accounts_update
id path required
A UUID string identifying this account.
string
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
accountsUpdate
PUT/api/projects/{project_id}/accounts/{id}/

Parameters

required

A UUID string identifying this account.

required

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

Input

required
required

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.

required

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.

required
required
required

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.accountsUpdate()