provider scheduled_changes PATCH /api/projects/{project_id}/scheduled_changes/{id}/
@utdk/posthog /api/projects/{project_id}/scheduled_changes/{id}/
scheduled_changes_partial_update
Create, read, update and delete scheduled changes.
id path required
A unique integer value identifying this scheduled change.
integer
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
scheduledChangesPartialUpdate
PATCH/api/projects/{project_id}/scheduled_changes/{id}/
Create, read, update and delete scheduled changes.

Parameters

required

A unique integer value identifying this scheduled change.

required

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

Input

The ID of the record to modify (e.g. the feature flag ID).

The type of record to modify. Currently only "FeatureFlag" is supported. * `FeatureFlag` - feature flag

The change to apply. Must include an 'operation' key and a 'value' key. Supported operations: 'update_status' (value: true/false to enable/disable the flag), 'add_release_condition' (value: object with 'groups', 'payloads', and 'multivariate' keys), 'update_variants' (value: object with 'variants' and 'payloads' keys).

ISO 8601 datetime when the change should be applied (e.g. '2025-06-01T14:00:00Z').

Return the safely formatted failure reason instead of raw data.

Whether this schedule repeats. Only the 'update_status' operation supports recurring schedules.

How often the schedule repeats. Required when is_recurring is true. One of: daily, weekly, monthly, yearly. * `daily` - daily * `weekly` - weekly * `monthly` - monthly * `yearly` - yearly

Optional ISO 8601 datetime after which a recurring schedule stops executing.

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.scheduledChangesPartialUpdate({
  "is_recurring": false
})