scheduled_changes

Create, read, update and delete scheduled changes.

patch/api/projects/{project_id}/scheduled_changes/{id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/scheduled_changes/{id}/
  • Auth: HTTP bearer

Path parameters

idinteger required

A unique integer value identifying this scheduled change.

project_idstring required

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

Request body

idinteger
team_idinteger
record_idstring

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

model_name'FeatureFlag'
  • FeatureFlag - feature flag
payloadunknown
scheduled_atstring date-time

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

executed_atstring date-time nullable
failure_reasonstring nullable

Return the safely formatted failure reason instead of raw data.

created_atstring date-time
updated_atstring date-time
is_recurringboolean

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

cron_expressionstring nullable
last_executed_atstring date-time nullable
end_datestring date-time nullable

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

timezonestring nullable

Response

idinteger required
team_idinteger required
record_idstring required

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

model_name'FeatureFlag' required
  • FeatureFlag - feature flag
payloadunknown required
scheduled_atstring date-time required

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

executed_atstring date-time nullable required
failure_reasonstring nullable required

Return the safely formatted failure reason instead of raw data.

created_atstring date-time required
updated_atstring date-time required
is_recurringboolean

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

cron_expressionstring nullable
last_executed_atstring date-time nullable required
end_datestring date-time nullable

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

timezonestring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.