Create approval request to copy flag configurations across environments
Create an approval request to copy a feature flag's configuration across environments.
Path parameters
projectKey
The project key
featureFlagKey
The feature flag key
environmentKey
The environment key for the target environment
Headers
Authorization
Request
This endpoint expects an object.
description
A brief description of your changes
source
The flag to copy
comment
Optional comment describing the approval request
notifyMemberIds
An array of member IDs. These members are notified to review the approval request.
notifyTeamKeys
An array of team keys. The members of these teams are notified to review the approval request.
includedActions
Optional list of the flag changes to copy from the source environment to the target environment. You may include either includedActions
or excludedActions
, but not both. If neither are included, then all flag changes will be copied.
excludedActions
Optional list of the flag changes NOT to copy from the source environment to the target environment. You may include either includedActions
or excludedActions
, but not both. If neither are included, then all flag changes will be copied.
Response
Approval request response
_id
The ID of this approval request
_version
Version of the approval request
creationDate
Timestamp of when the approval request was created
serviceKind
The approval service for this request. May be LaunchDarkly or an external approval service, such as ServiceNow or JIRA.
reviewStatus
Current status of the review of this approval request
Allowed values:
allReviews
An array of individual reviews of this approval request
notifyMemberIds
An array of member IDs. These members are notified to review the approval request.
status
Current status of the approval request
Allowed values:
instructions
List of instructions in semantic patch format to be applied to the feature flag
conflicts
Details on any conflicting approval requests
_links
The location and content type of related resources
requestorId
The ID of the member who requested the approval
description
A human-friendly name for the approval request
appliedDate
Timestamp of when the approval request was applied
appliedByMemberId
The member ID of the member who applied the approval request
appliedByServiceTokenId
The service token ID of the service token which applied the approval request
executionDate
Timestamp for when instructions will be executed
operatingOnId
ID of scheduled change to edit or delete
integrationMetadata
Details about the object in an external service corresponding to this approval request, such as a ServiceNow change request or a JIRA ticket, if an external approval service is being used
source
Details about the source feature flag, if copied
customWorkflowMetadata
Details about the custom workflow, if this approval request is part of a custom workflow