Update approval request
Perform a partial update to an approval request. Updating an approval request uses the semantic patch format. This endpoint works with approval requests for either flag or segment changes.
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.
Instructions
Semantic patch requests support the following kind
instruction for updating an approval request.
addReviewers
Adds the specified members and teams to the existing list of reviewers. You must include at least one of notifyMemberIds
and notifyTeamKeys
.
Parameters
notifyMemberIds
: (Optional) List of member IDs.notifyTeamKeys
: (Optional) List of team keys.
Here’s an example:
Path parameters
id
The approval ID
Headers
Authorization
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