Update the WorkItemAssignee for the given principal
Update the WorkItemAssignee for the given principal
Request
URI
PUT
https://{api_host}/work-item-service/api/assignees/{principalId}/delegates
COPY
Path Parameters
string
principalId
Required
The principal identifier for the user or group to be updated.
Request Body
WorkItemAssignee
of type(s)
application/json
Optional
Show optional properties
{
"delegates": [
{
"principalId": "string",
"principalType": "string"
}
]
}
{
"delegates": [
{
"displayName": "string",
"principalId": "string",
"principalType": "string"
}
]
}
Responses
200
Operation doesn't return any data structure
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"delegates":["object"]}' https://{api_host}/work-item-service/api/assignees/{principalId}/delegates
Work Item Assignee Operations
PUT
Update the WorkItemAssignee for the given principal
GET
Retrieve the list Of delegates for the given principal/user/group.
PUT
Update the WorkItemAssignee for the given principal
POST
Delete the current WorkItemAssignee.
Deprecated
POST
Remove the given principalId from the set Of valid assignees for A workitem.
PUT
Creates Or updates the specified WorkItemAssignee.
Deprecated
GET
Retrieve the WorkItemAssignee, including delegates, for the 'current' user.
Deprecated
PUT
Creates Or updates the specified WorkItemAssignee.
Deprecated