Create scheduled changes workflow

Create scheduled changes for a feature flag. If the ignoreConficts query parameter is false and there are conflicts between these instructions and existing scheduled changes, the request will fail. If the parameter is true and there are conflicts, the request will succeed.

Path parameters

projectKeystringRequired
The project key
featureFlagKeystringRequired
The feature flag key
environmentKeystringRequired
The environment key

Headers

AuthorizationstringRequired

Query parameters

ignoreConflictsbooleanOptional

Whether to succeed (true) or fail (false) when these instructions conflict with existing scheduled changes

Request

This endpoint expects an object.
executionDatelongRequired
When the scheduled changes should be executed
instructionslist of maps from strings to anyRequired

The actions to perform on the execution date for these scheduled changes. This should be an array with a single object that looks like <code>{“kind”: “scheduled_action”}</code>. Supported scheduled actions are <code>turnFlagOn</code> and <code>turnFlagOff</code>.

commentstringOptional
Optional comment describing the scheduled changes

Response

Scheduled changes response
_idstring
The ID of this scheduled change
_creationDatelong
Timestamp of when the scheduled change was created
_maintainerIdstring
The ID of the scheduled change maintainer
_versioninteger
Version of the scheduled change
executionDatelong
When the scheduled changes should be executed
instructionslist of maps from strings to any
The actions to perform on the execution date for these scheduled changes
conflictsanyOptional

Errors