Update deployment
Update a deployment by ID. Updating a deployment uses a JSON patch representation of the desired changes. To learn more, read Updates.
The deployment ID is returned as part of the List deployments response. It is the id
field of each element in the items
array.
Path parameters
deploymentID
The deployment ID
Headers
Authorization
Request
This endpoint expects a list of objects.
op
The type of operation to perform
path
A JSON Pointer string specifying the part of the document to operate on
value
Response
Deployment response
id
The deployment ID
applicationKey
The application key
applicationVersion
The application version
startedAt
The time the deployment started
status
The status of the deployment
kind
The kind of deployment
active
Whether the deployment is active
archived
Whether the deployment is archived
environmentKey
The environment key
numberOfContributors
The number of contributors
numberOfPullRequests
The number of pull requests
linesAdded
The number of lines added
linesDeleted
The number of lines deleted
leadTime
The total lead time from first commit to deployment end in milliseconds
endedAt
The time the deployment ended
durationMs
The duration of the deployment in milliseconds
metadata
The metadata associated with the deployment
pullRequests
The pull requests contained in the deployment
flagReferences
The flag references contained in the deployment
leadTimeStages
The lead time stages for the deployment