Skip to content

Create role group

Request

Create a new role group for this application.

Required permissions: organizations:create, roles:create.

Security
AdminAccessToken
Path
app_idstringrequired

ID of the application to create the role group in

Bodyapplication/jsonrequired
role_idsArray of stringsrequired

Ids of the roles

Example:
[ "role1", "role2" ]
namestringrequired

Name of the roles group

Example:"My Group"
descriptionstring

Description of the roles group

Example:"My Group's description"
display_namestring

Group display name

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

Responses

Bodyapplication/json
messagestringrequired
error_codenumberrequired
ts_error_codestringrequired
Response
{ "message": "string", "error_code": 0, "ts_error_code": "string" }