DORA Metrics
Patch a deployment event
Update a deployment's change failure status. 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.
patch/api/v2/dora/deployments/{deployment_id}
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/dora/deployments/{deployment_id}
- AuthAPI key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
Path parameters
deployment_idstring required
The ID of the deployment event.
Request body
Example request
{
"data": {
"attributes": {
"change_failure": true,
"remediation": {
"id": "eG42zNIkVjM",
"type": "rollback"
}
},
"id": "z_RwVLi7v4Y",
"type": "dora_deployment_patch_request"
}
}Response
Accepted
Changes
No recorded changes to this operation across all 1 revision of this API.