provider accounts DELETE /api/environments/{environment_id}/accounts/{id}/
@utdk/posthog /api/environments/{environment_id}/accounts/{id}/
environments_accounts_destroy
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
environmentsAccountsDestroy
DELETE/api/environments/{environment_id}/accounts/{id}/

Parameters

required

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

required

A UUID string identifying this 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.environmentsAccountsDestroy()