The AddRoleInput input includes various settings.

Table: AddRoleInput

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 17, 2024
colorstring  The color used for highlighting role added.
displayNamestringyes The name to display for the role added.
objectActionObjectAction  The object of the action. See ObjectAction.
organizationManagementPermissions[OrganizationManagementPermission]yes The management permissions for the organization. See OrganizationManagementPermission.
organizationPermissions[OrganizationPermission]yes The permissions for the organization. See OrganizationPermission.
systemPermissions[SystemPermission]yes The permissions for the system. See SystemPermission.
viewPermissions[Permission]yes The permissions for the view. See Permission.