Permission Roles
Create role
post /api/http/permission-roles/create
Create new custom permission role in specified permission context
Required permissions: Grant permissions to other members
, Manage project permission scheme
, Manage channels
|
Get roles
post /api/http/permission-roles/get
List all permission roles in permission context
Required permissions: Grant permissions to other members
, View project details
, View channel info
|
Reset role permissions to default
post /api/http/permission-roles/{roleId}/reset-role-permissions-to-default
Reset permissions for the role to the standard ones. Only applicable to roles with PermissionRoleType = PREDEFINED, not applicable to custom roles.
Required permissions: Grant permissions to other members
, Manage project permission scheme
, Manage channels
|
Update role
patch /api/http/permission-roles/{roleId}
Update custom permission role name
Required permissions: Grant permissions to other members
, Manage project permission scheme
, Manage channels
|
Delete role
delete /api/http/permission-roles/{roleId}
Delete custom permission role
Required permissions: Grant permissions to other members
, Manage project permission scheme
, Manage channels
|
Get 2fa requirement
get /api/http/permission-roles/{roleId}/2-fa-requirement
Get 2FA requirement for permission role
Required permissions: Grant permissions to other members
, Manage project permission scheme
, Manage channels
|
Set 2fa requirement
patch /api/http/permission-roles/{roleId}/2-fa-requirement
Set 2FA requirement for permission role
Required permissions: Grant permissions to other members
, Manage project permission scheme
, Manage channels
|
Grant role permissions
post /api/http/permission-roles/{roleId}/permissions
Grant permissions to the specified role. You can get the list of all permissions applicable to the role using " Get all " method.
Required permissions: Grant permissions to other members
, Manage project permission scheme
, Manage channels
|
Get role permissions
get /api/http/permission-roles/{roleId}/permissions
Get role permissions
Required permissions: Grant permissions to other members
, View project details
, View channel info
|
Revoke role permissions
delete /api/http/permission-roles/{roleId}/permissions
Revoke permissions from the specified role.
Required permissions: Grant permissions to other members
, Manage project permission scheme
, Manage channels
|
Add role member
post /api/http/permission-roles/{roleId}/profiles/{profile}
Assign permission role to the profile
Required permissions: Grant permissions to other members
, Manage project permission scheme
, Manage channels
|
Remove role member
delete /api/http/permission-roles/{roleId}/profiles/{profile}
Remove permission role from the profile
Required permissions: Grant permissions to other members
, Manage project permission scheme
, Manage channels
|
Get role members
get /api/http/permission-roles/{roleId}/profiles
Get list of profiles with the specified role
Required permissions: Grant permissions to other members
, View project details
, View channel info
|
Add role team
post /api/http/permission-roles/{roleId}/teams/{team}
Assign permission role to the team
Required permissions: Grant permissions to other members
, Manage project permission scheme
, Manage channels
|
Remove role team
delete /api/http/permission-roles/{roleId}/teams/{team}
Remove permission role from the team
Required permissions: Grant permissions to other members
, Manage project permission scheme
, Manage channels
|
Get role teams
get /api/http/permission-roles/{roleId}/teams
Get list of teams with the specified role
Required permissions: Grant permissions to other members
, View project details
, View channel info
|