I want to make an admin panel page, which trigger an endpoint to update my database (it’s a form that takes a text and parse it to an array).
I created a plugin with the form on the Homepage and the route I need.
I only found public or authenticated permissions and not admin authenticated.
I didn’t find any solution to lock a route to strapi admin user only and how to pass the admin authentication token.
I hope you could help me.