removing legacy broker rest api

[test]