roles

Create a Role

Creates a custom role for the organization; the slug is derived from the name.

post/v2/roles

Request

  • Base URL
    https://api.stuut.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

namestring required
permissionsstring[] required
data_visibility_scope'organization' | 'business_units' | 'assigned_only'
work_visibility_scope'organization' | 'business_units' | 'assigned_only'

Response

Successful Response

idstring required
slugstring required
namestring required
permissionsstring[] required
permissions_expandedstring[] required
data_visibility_scope'organization' | 'business_units' | 'assigned_only' required
work_visibility_scope'organization' | 'business_units' | 'assigned_only' required
is_systemboolean required
active_member_countinteger required
deactivated_member_countinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.