ClickLabs interview question

How to cancel api request