Stops a deployment. This API action works only on deployments that have a status of <code>DEPLOYING</code>. This action moves the deployment to a status of <code>ROLLED_BACK</code>.
delete/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}
Path parameters
ApplicationIdstring required
The application ID.
EnvironmentIdstring required
The environment ID.
DeploymentNumberinteger required
The sequence number of the deployment.
Response
Success
Example response
{
"DeploymentDurationInMinutes": 15,
"DeploymentNumber": 2,
"FinalBakeTimeInMinutes": 0,
"GrowthFactor": 25,
"PercentageComplete": 1
}