provider platform_featuresapproval_policies PATCH /api/environments/{environment_id}/approval_policies/{id}/
@utdk/posthog /api/environments/{environment_id}/approval_policies/{id}/
environments_approval_policies_partial_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
environmentsApprovalPoliciesPartialUpdate
PATCH/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

Auto-expire change requests after this duration

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