PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

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