Switch to enable/disable API

nicktan

May 3rd, 2023 12:28 AM

I was just wondering, is it possible any possible way to enable or disable the API without having to manually disable the API via the code?

And

Is there there a possibility to revoke user's API key via admin panel?

bobbyiliev

May 3rd, 2023 12:08 PM

Hi there,

Disabling the API via the admin is not possible, you can however just comment out the Wave API routes in the routes api.php file and this should be enough to stop people from using it!

For the API keys, you can create a BREAD in your Voyager Admin and you will be able to manage the keys through there as well.

Hope that this helps!

Best,

Bobby