provider persons GET /api/environments/{environment_id}/persons/deletion_status/
@utdk/posthog /api/environments/{environment_id}/persons/deletion_status/
environments_persons_deletion_status_list
List the status of queued event deletions for persons. When you delete a person with `delete_events=true`, an async deletion is queued. Use this endpoint to check whether those deletions are still pending or have been completed.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
format query
enum: csv, json
limit query
Number of results to return per page.
integer
offset query
The initial index from which to return the results.
integer
person_uuid query
Filter by a specific person UUID.
string
status query
Filter by deletion status: 'pending', 'completed', or 'all'.
enum: all, completed, pending

Try it

Authentication
Configure credentials for PostHog API
environmentsPersonsDeletionStatusList
GET/api/environments/{environment_id}/persons/deletion_status/
List the status of queued event deletions for persons. When you delete a person with `delete_events=true`, an async deletion is queued. Use this endpoint to check whether those deletions are still pending or have been completed.

Parameters

required

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

Number of results to return per page.

The initial index from which to return the results.

Filter by a specific person UUID.

Filter by deletion status: 'pending', 'completed', or 'all'.

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