Retrieve the list Of delegates for the given principal/user/group.
Retrieve the list of delegates for the given principal/user/group.
Request
URI
GET
https://{api_host}/work-item-service/api/assignees/{principalId}/delegates
COPY
Path Parameters
string
principalId
Required
The principal identifier for the user or group.
Responses
200
successful operation
Returns
WorkItemAssignee
of type(s)
*/*
{
"delegates": [
{
"displayName": "string",
"principalId": "string",
"principalType": "string"
}
]
}
array of
object
delegates
Required
delegates
Code Samples
COPY
curl -H 'Authorization: <value>' 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