roles.read
curl --location -g --request GET 'https://Example-Server.com/be/v1/roles/?fields[]=name' \ --header 'x-rockit-beauth-token: eyjhvcIhvds;huVODV...' \ --header 'x-rockit-orgname: ExampleOrg' \ --header 'x-rockit-username: adminPrincipal' \ --header 'x-rockit-api-key: {{_adminPrincipal_apiKey}}'
{ "status": "success", "role": { "_id": "681a14514752913f25d9af12", "orgName": "KuhlmannOrg", "name": "exampleRole", "perms": { "apps": 12, "beUsers": 7, "bundles": 11, "consumption": 2, "dependencies": 4, "deployments": 11, "keys": 15, "orgs": 0, "roles": 9, "sources": 8, "subscriptions": 4, "tasks": 31, "trainings": 3 }, "nUsers": 0, "users": [] } }