persons

Fix a distinct_id that stays hidden after its person was deleted and created again. Does nothing if no live person uses this distinct_id. In that case, send a new event for it instead.

post/api/projects/{project_id}/persons/reset_person_distinct_id/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/persons/reset_person_distinct_id/
  • 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

idinteger required

Numeric person ID.

namestring required

Display name derived from person properties (email, name, or username).

distinct_idsstring[] required
propertiesunknown
created_atstring date-time required

When this person was first seen (ISO 8601).

uuidstring uuid required

Unique identifier (UUID) for this person.

last_seen_atstring date-time nullable required

Timestamp of the last event from this person, or null.

Response

No response body

Changes

No recorded changes to this operation across all 1 revision of this API.