private async Task DeleteDeployment(IOperation operation, IOperationLogger logger, DeploymentListItem deployment)
        {
            var response = await new Deployment.DeleteRequest(deployment.Id)
            {
                Cascade = true
            }.SendRequest(operation, camundaClient);

            if (response.IsWithoutErrors())
            {
                await logger.Info($"Camunda deployment was deleted:\n{JsonConvert.SerializeObject(deployment, Formatting.Indented)}");
            }
            else
            {
                await logger.Error($"Camunda deployments wasn't deleted:\n{JsonConvert.SerializeObject(response.Errors, Formatting.Indented)}");

                throw CommonExceptions.FailedToDeleteCamundaDeployment(operation);
            }
        }