provider platform_featuresapproval_policies POST /api/environments/{environment_id}/approval_policies/
@utdk/posthog /api/environments/{environment_id}/approval_policies/
environments_approval_policies_create
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsApprovalPoliciesCreate
POST/api/environments/{environment_id}/approval_policies/

Parameters

required

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

Input

required
required
required

Auto-expire change requests after this duration

required
required
required

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