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
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.