New User can not access API. Must be missing something

I have added a new user called api_user.
I then generated a token with this users new username and password.

But it seems like this new user can not access the API.

When i try to create a new document with the new token I get a 404, but if I use the token created from the admin account it works fine.

I assume I am missing a step?


Have you asigned the new user a group and role?

admin account has all permissions, but new users need to be asigned. The permissions system is quite extensive.

I had not added groups and roles. Thank you

Also with API calls you’ll need a token for the user to connect.
See REST API — Mayan EDMS 4.4.7 documentation