Updates an existing holdout, and returns the updated holdout. Updating holdouts 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 holdouts.
Ends a holdout.
None.
Here’s an example:
Removes an experiment from a holdout.
value
: The key of the experiment to removeHere’s an example:
Updates the description of the holdout.
value
: The new description.Here’s an example:
Updates the name of the holdout.
value
: The new name.Here’s an example:
The project key
The environment key
The holdout key
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.
Optional comment describing the update
Holdout response
The percentage of traffic allocated to this holdout.