How do I create permissions from the Management API?

On this page it says that you can define permissions using the Dashboard, but is it possible to define permissions using the Management API? In our case, we have multiple Apps that use the same User base, but each app has different permission and we’d like to automate, and possibly allow admins of the apps to define new permissions.

Found out that you can Create/Update permissions using this endpoint:

You may need to add some extra logic to your backend when using it tho, as it when you send the scopes field, it will actually override it, so you need to send all of the scopes every time you update/create a new one.


Glad you figured it out and thank you for sharing it with the rest of community!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.