Create an approval request.
This endpoint requires a list of instructions, in semantic patch format, that will be applied when the approval request is approved and applied.
Flags
If you are creating an approval request for a flag, you can use the following instructions:
addVariation
removeVariation
updateVariation
updateDefaultVariation
For details on using these instructions, read Update feature flag.
To create an approval for a flag specific to an environment, use Create approval request for a flag.
AI Configs
If you are creating an approval request for an AI Config, you can use the semantic patch instructions listed under Update AI Config targeting.
Segments
If you are creating an approval request for a segment, you can use the semantic patch instructions listed under Patch segment.