Remove api from Application, Client and Credential model