Skip to content

Set org's role groups
deprecated

Request

Update the role groups of the organization for a specific application, which will replace any existing role groups for the organization. These role groups must first be created for the application. Once added to the organization, roles that belong to these role groups can be assigned to members of the organization to control their access to the application.

Required permissions: organizations:edit, orgs:edit.

Security
AdminAccessToken
Path
app_idstringrequired

ID of the application to set the roles to

organization_idstringrequired

ID of the organization to set the roles to

Bodyapplication/jsonrequired
role_group_idsArray of stringsrequired

Role group ids

curl -i -X POST \
  'https://api.sbx.transmitsecurity.io/cis/v1/applications/{app_id}/organizations/{organization_id}/role-groups/set' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "role_group_ids": [
      "string"
    ]
  }'

Responses