I'm having a bit of a problem accessing admin routes via the API over REST. It always gives me a 401 error. Access via a browser works of course.
I'm running NodeBB 1.12.2 and have the write api plugin installed and active.
Specifically I'm trying to GET group privileges for a specific category via, for instance /api/admin/manage/privileges/1.
I've tried gaining authorization via a cookie and via a bearer token provided by the write API. Have any of you succeeded in getting requests to the admin API to work?
Thank you and best regards