Admin routes with read API

Technical Support
  • Hello everyone,

    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

    Greg

  • I am also facing the same issue.
    I am running NodeBB v1.13.x and whenever I am trying to hit http://localhost:4567/admin/manage/privileges, Access Denied(403) message is coming. I am using bearer token for authorization. Please let me know if anyone know the solution.

    Thanks


Suggested Topics