Create or update role API

edit

Create or update role API

edit

Refer to role APIs.