in content/30_containerize-app/app/src/main/java/com/atlassian/jira/jsw/sample/dataprovider/RelayDeploymentsController.java [76:90]
void deleteDeploymentByKey(@RequestParam String hostBaseUrl,
@PathVariable String pipelineId,
@PathVariable String environmentId,
@PathVariable String deploymentSequenceNumber,
HttpServletResponse httpResponse) throws IOException {
final String path = buildPath(
String.format("pipelines/%s/environments/%s/deployments/%s", pipelineId, environmentId, deploymentSequenceNumber)
);
final String url = buildUrl(hostBaseUrl, path);
log.info("calling delete url = {}", url);
httpCommonOperations.delete(httpResponse, url);
}