Operation: updateRole

Coverity Documentation

Version
latest

Name

updateRole

Description

Update a role specification.

Parameters

roleId

Type: roleIdDataObj

Field name Type Description
name string Required. Name of the role.
roleSpec

Type: roleSpecDataObj

Field name Type Description
deletable boolean If the new role can be deleted, set to true. If not, set to false. Required when using createRole(). Maximum of one specification allowed.
description string Description of the role.
editable boolean Value of false not allowed. Requires value of true when using createRole(). Maximum of one specification allowed.
name string Name of the new role. Required when using createRole().
permissionDataObjs permissionDataObj Name of a permission to associate with the new role. See getAllPermissions(). Zero or more permissions allowed. When updating role permissions, respecify any permissions you want to retain.