I deleted my API and website login won't work now

I deleted my custom API and therefore my website login won’t work now. So I created a new custom API. But how do I link this to my Application? Thanks.

bumping up the question