Update the WorkItemAssignee for the given principal

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