Skip to Content
Data Imports

Disconnect Posthog

POST
/v0/projects/{idOrSlug}/data-imports/posthog/disconnect

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string

Request Body

application/json
  1. body
region*string
Value in"us""eu"

Response Body

PosthogConnections

application/json
  1. response
regions*array<>
Example Request
curl -X POST 'https://api.faststats.dev/v0/projects/string/data-imports/posthog/disconnect' \  -H 'Content-Type: application/json' \  -d '{  "region": "us"}'
Example Response
{  "regions": [    "us"  ]}