Get Role
See exactly what one role lets its members do, permission by permission.
Path
The role's id, from List Roles.
Headers
Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See Organizations.
Response fields
idstringUnique id of the role.
namestringThe role's name.
descriptionstringThe role's description. Empty when nobody wrote one.
isAdminbooleanTrue if the role grants admin rights.
isGlobalbooleanTrue for roles MindCloud provides to every company. Global roles are read-only: writing one answers 404.
createdOndateWhen the role was created.
memberCountnumberHow many people in the company hold the role, people whose invite is pending included. A role with members cannot be deleted.
permissionsarray of objectsEverything the role allows, as { key, name } pairs.
keystringThe permission key, such as workflow:run.
namestringThe permission's display name.