provider data_warehouse DELETE /api/projects/{project_id}/data_warehouse/delete-org/
@utdk/posthog /api/projects/{project_id}/data_warehouse/delete-org/
data_warehouse_delete_org_destroy
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.
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
dataWarehouseDeleteOrgDestroy
DELETE/api/projects/{project_id}/data_warehouse/delete-org/
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.

Parameters

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.dataWarehouseDeleteOrgDestroy()