persons
This endpoint allows you to bulk delete persons, either by the PostHog person IDs or by distinct IDs. You can pass in a maximum of 1000 IDs per call. Only events captured before the request will be deleted.
Person records are removed in the background shortly after the request returns, so a successful response reports them in persons_queued_for_deletion and persons_deleted is 0.
post/api/projects/{project_id}/persons/bulk_delete/
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/persons/bulk_delete/
- 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/.
Query parameters
format'csv' | 'json'
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.