Skip to content

Update role group

Request

Update an existing role group for this application.

Required permissions: organizations:edit, roles:edit.

Security
AdminAccessToken
Path
app_idstringrequired

ID of the application the group is in

group_idstringrequired

ID of the group to set the roles to

Bodyapplication/jsonrequired
namestring

Name of the roles group

Example:"My Group"
descriptionstring

Description of the roles group

Example:"My Group's description"
display_namestring

Group display name

role_idsstring

Ids of the roles

Example:
[ "role1", "role2" ]
curl -i -X PUT \
  'https://api.sbx.transmitsecurity.io/cis/v1/applications/{app_id}/role-groups/{group_id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "My Group",
    "description": "My Group'\''s description",
    "display_name": "string",
    "role_ids": [
      "role1",
      "role2"
    ]
  }'

Responses

Bodyapplication/json
messagestringrequired
error_codenumberrequired
Example:404
Response
{ "message": "string", "error_code": 404 }