Patch release for flag

PATCH
/api/v2/flags/:projectKey/:flagKey/release

This endpoint is only available for releases that are part of a legacy release pipeline. Releases for new release pipelines should use the Update phase status for release endpoint. To learn more about migrating from legacy release pipelines to fully automated release pipelines, read the Release pipeline migration guide.

Update currently active release for a flag. Updating releases requires the JSON patch format. To learn more, read Updates.

You can only use this endpoint to mark a release phase complete or incomplete. To indicate which phase to update, use the array index in the path. For example, to mark the first phase of a release as complete, use the following request body:

[
{
"op": "replace",
"path": "/phase/0/complete",
"value": true
}
]

Path parameters

projectKeystringRequired

The project key

flagKeystringRequired

The flag key

Request

This endpoint expects a list of objects.
list of objects

Response

Release response

namestring

The release pipeline name

releasePipelineKeystring

The release pipeline key

releasePipelineDescriptionstring

The release pipeline description

phaseslist of objects

An ordered list of the release pipeline phases

_versioninteger

The release version

_releaseVariationIdstringOptional

The chosen release variation ID to use across all phases of a release

_canceledAtlongOptional

Timestamp of when the release was canceled

Errors

Built with