provider data_warehouse GET /api/environments/{environment_id}/data_warehouse/check-database-name/
@utdk/posthog /api/environments/{environment_id}/data_warehouse/check-database-name/
environments_data_warehouse_check_database_name_retrieve
Check if a database name is available.
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
name query required
Database name to check
string

Try it

Authentication
Configure credentials for PostHog API
environmentsDataWarehouseCheckDatabaseNameRetrieve
GET/api/environments/{environment_id}/data_warehouse/check-database-name/
Check if a database name is available.

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

required

Database name to check

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.environmentsDataWarehouseCheckDatabaseNameRetrieve()