CFY-645 fixed delete_deployment rest API