Create approval request
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.
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.
If you are creating an approval request for a segment, you can use the following read Patch segment for details on the available instructions
.
Headers
Request
List of instructions in semantic patch format to be applied to the feature flag. Review the Update feature flag documentation for details on available instructions.
Additional approval request fields for third-party integration approval systems. If you are using a third-party integration to manage approval requests, these additional fields will be described in the manifest.json
for that integration, at https://github.com/launchdarkly/integration-framework.
Response
A human-friendly name for the approval request