Updates the Resource-Role Assignment for the ResourceRoleAssignmentId provided.
put
/primeapi/restapi/v16.2/resourceRoleAssignment
Request
Supported Media Types
- application/json
Body Parameter
Resource-Role Assignment to be updated.
Root 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