Delete a deployment
DELETE
/api/v4/projects/{id}/deployments/{deployment_id}
Deletes a specified deployment that is not currently the last deployment for an environment or in a running state.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Deployment destroyed
“Cannot destroy running deployment” or “Deployment currently deployed to environment”
Forbidden
Not Found