data_warehouse

Remove the organization's provisioning record after teardown, freeing its warehouse name.

Called once the warehouse status reports deleted: deprovision tears the warehouse down, this removes the now-empty org row so the database_name can be reused. Restricted to organization admins.

delete/api/projects/{project_id}/data_warehouse/delete-org/

Request

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

Response

statusstring

Deletion lifecycle message from the provisioner

orgstring

duckgres org identifier (the PostHog organization id)

Changes

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