provider platform_featuresapproval_policies PUT /api/environments/{environment_id}/approval_policies/{id}/
@utdk/posthog /api/environments/{environment_id}/approval_policies/{id}/
environments_approval_policies_update
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
id path required
A UUID string identifying this approval policy.
string

Try it

Authentication
Configure credentials for PostHog API
environmentsApprovalPoliciesUpdate
PUT/api/environments/{environment_id}/approval_policies/{id}/

Parameters

required

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

required

A UUID string identifying this approval policy.

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