Assign Permissions to given Roles using REST API

Are there any rest api exposed that can associate permission with the roles in Apigee Edge Drupal module? I researched a lot but was unable to find the resource for a Drupal beginner.

Is there any other way out to assign permission to roles programatically?

0 2 197
2 REPLIES 2

Have you tried enabling JSON:API module?

I see that they have an endpoint for REST operations on user_role

This is the endpoint on my local development environment :

http://localhost:5000/jsonapi/user_role/user_role

Thanks for the help. This was helpful for beginners like me.

Is there any documentation available just like swagger doc which list the methods that are applicable for the api call or list the parameters required to make call.

I have looked at the module documentation and the configuration tab in admin portal but was unable to find such detail.