Update a Resource Role Assignment
put
/api/restapi/resourceRoleAssignment
Send a request to this endpoint to update a resource role assignment.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : ApiEntityResourceRoleAssignmentInput
Type:
object
Title:
ApiEntityResourceRoleAssignmentInput
This entity represents a ResourceRoleAssignment object, a unique ResourceRoleAssignment object can be identified by the following combinations of the fields.
Show Source
- resourceRoleAssignmentId
- resourceId,roleId
- resourceCode,workspaceCode,roleId
- resourceId,workspaceCode,roleCode
- resourceCode,workspaceCode,roleCode
-
link: string(url)Read Only:true
Deprecated. As of 23.10.The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
primaryFlag: boolean
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: string
Allowed Values:
[ "ONE", "TWO", "THREE", "FOUR", "FIVE" ]
The skill level of the resource.
Skill levels are Master, Expert, Skilled, Proficient, and Inexperienced. -
projectCode: string
Maximum Length:
60
The unique identifier for a project set by the user who created the project. -
projectId: integer
(int64)
The unique identifier for the project.
-
resourceCode: string
Minimum Length:
1
Maximum Length:60
The unique identifier for the resource or role. -
resourceId(required): integer
(int64)
The unique identifier for the resource.The resource object can also be identified by its unique criteria.
-
resourceRoleAssignmentId: integer
(int64)
The system-generated identifier of the resource role assignment.
-
roleCode: string
Minimum Length:
1
Maximum Length:60
The user-specified identifier of the role. -
roleId(required): integer
(int64)
The unique identifier for the role.The role object can also be identified by its unique criteria.
-
updateDate: string(date-time)Read Only:true
Deprecated. As of 23.10.Date when the record was last updated. -
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of a workspace.
Examples
Back to Top
Response
204 Response
Successful operation with no content.
400 Response
Invalid input for the Resource Role Assignment service.