Fixing tenant management rest api methods