Skip to content

Get org's roles and role groups

Request

Retrieves all roles and role groups that were added to the organization for a specific application. Roles that belong to these role groups or are directly assigned can be assigned to members of the organization to control their access to the application.

Required permissions: organizations:read, orgs:read.

Security
AdminAccessToken
Path
app_idstringrequired

ID of the application

organization_idstringrequired

ID of the organization

curl -i -X GET \
  'https://api.sbx.transmitsecurity.io/cis/v1/applications/{app_id}/organizations/{organization_id}/roles-and-groups' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Bodyapplication/json
resultobjectrequired
Response
{ "result": { "role_groups": [ … ], "default_organization_roles": [ … ], "roles": [ … ] } }