Updates Resource-Role Assignments.
put
/primeapi/restapi/v16.2/resourceRoleAssignment/batch
Request
Supported Media Types
- application/json
- application/xml
Body Parameter
Resource-Role Assignments to be updated.
Root Schema : /paths/~1v16.2~1resourceRoleAssignment~1batch/put/parameters/0/schema
Type:
array
-
Type:
object
ApiEntityResourceRoleAssignment
Nested Schema : ApiEntityResourceRoleAssignment
Type:
object
- primaryFlag
-
Type:
boolean
Default Value:false
Determines whether this is the resource's main role. A role that does not have this option selected indicates that this is a secondary role for the resource. You can only assign one primary role per resource. A resource is not required to have a primary role. - proficiency
-
Type:
string
Allowed Values:[ "ONE", "TWO", "THREE", "FOUR", "FIVE" ]
The skill level of the resource. Skill levels are Master, Expert, Skilled, Proficient, and Inexperienced. - resourceId
-
Type:
integer
(int64
)The unique identifier for the resource or role. - resourceRoleAssignmentId
-
Type:
integer
(int64
)The identifier for the resource. - roleId
-
Type:
integer
(int64
)The unique identifier for the resource or role.
Response
Supported Media Types
- application/json
Default Response
successful operation