Delivery Performance

Mark a deployment as failed by version

Update a deployment's change failure status, identifying the deployment by its service, environment, and version instead of its ID. Use this to mark a deployment as a change failure or back to stable. You can optionally include remediation details to enable failed deployment recovery time calculation. If multiple deployments match the given service, environment, and version, the most recently finished one is updated.

patch/api/v2/dora/deployments

Request

Request body

Example request

{
  "data": {
    "attributes": {
      "change_failure": true,
      "env": "production",
      "remediation": {
        "type": "rollback",
        "version": "v1.2.2"
      },
      "service": "my-service",
      "version": "v1.2.3"
    },
    "type": "dora_deployment_patch_request"
  }
}

Response

Accepted

Changes

Changes to this operation have not been checked yet.