Split distinct_ids off a merged person. Two mutually exclusive modes:
- distinct_ids_to_split (recommended for surgical edits): moves only the listed distinct_ids off this person onto new single-id persons. The original person keeps every other distinct_id and its properties.
- main_distinct_id: keeps only the specified distinct_id on this person; moves every other distinct_id off onto its own new person. If omitted, the first distinct_id is kept.
The original person always retains its properties. To clear individual properties afterward, use the delete_property endpoint.
The split runs asynchronously: a 201 response means the task was enqueued. Newly-created split-off persons get a deterministic UUID derived from (team_id, distinct_id), so they can be located client-side without polling. If you need to delete a split-off person after this call, prefer looking it up by that deterministic UUID rather than by distinct_id, since the latter still resolves to the original merged person until the async task completes.
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/persons/{id}/split/
- Auth: HTTP bearer
Path parameters
A unique value identifying this person. Accepts both numeric ID and UUID.
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
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.