Update a scheduled change, overriding existing instructions with the new ones. Updating a scheduled change uses the semantic patch format.
To make a semantic patch request, you must append domain-model=launchdarkly.semanticpatch to your Content-Type header. To learn more, read Updates using semantic patch.
Semantic patch requests support the following kind instructions for updating scheduled changes.
Removes the scheduled change.
Here’s an example:
Removes the existing scheduled changes and replaces them with the new instructions.
value: An array of the new actions to perform when the execution date for these scheduled changes arrives. Supported scheduled actions are turnFlagOn and turnFlagOff.Here’s an example that replaces the scheduled changes with new instructions to turn flag targeting off:
Updates the execution date for the scheduled changes.
value: the new execution date, in Unix milliseconds.Here’s an example:
Whether to succeed (true) or fail (false) when these new instructions conflict with existing scheduled changes
The instructions to perform when updating. This should be an array with objects that look like <code>{“kind”: “update_action”}</code>. Some instructions also require a <code>value</code> field in the array element.