remove API from the client