0

I am trying to delete all persons in my posthog. they were inserted by mistake. I try to use the DELETE endpoint from here: https://posthog.com/docs/api/persons

but to delete a person it requires a person id of type number. when I get the persons from the API, the id is a string. where can I find the needed id which is a number?

the endpoint: https://app.posthog.com/api/projects/${PROJECT_ID}/persons/${personI.id}/?personal_api_key=${POSTHOG_PERSONAL_API_KEY}

providerZ
  • 315
  • 11
eyal
  • 13
  • 3

0 Answers0