def markAliasPathAsRemoved()

in path-manager/app/controllers/PathManagerController.scala [92:103]


  def markAliasPathAsRemoved(path: String)  = Action {

    PathStore.setAliasPathIsRemovedFlag(path, isRemoved = true).fold {
      PathOperationErrors.increment
      NotFound("no alias path matching the provided path")
    }(
      aliasPaths => Ok(
        Json.toJson(aliasPaths)
      )
    )

  }