How to block connections that don't use WARP

I want to block all access to my website from laptops that aren't going through warp, how do I do that? it's an api so not sure if I can use like a normal access policy?
Was this page helpful?