Obtain Detailed Role Permissions From API

How to obtain detailed role permissions from API?

Verify the API END Point https://{Orch-url}odata/Roles?&$expand=Permissions&$orderby=DisplayName asc

Header screenshots:

How to narrow down the scope by role id and then expand to show permissions?

Verify the ENDPOINT URL : https://{Orch URL }/odata/Roles(16)?%24expand=Permissions . That will provide all the roles permission where 16 is the role ID.


Note: Team need to replace the role ID.