Comments Reactions - Delete
Deletes an existing reaction on a comment.
DELETE https://dev.azure.com/{organization}/{project}/_apis/wit/workItems/{workItemId}/comments/{commentId}/reactions/{reactionType}?api-version=7.1-preview.1
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
comment
|
path | True |
integer (int32) |
Comment ID |
organization
|
path | True |
string |
The name of the Azure DevOps organization. |
project
|
path | True |
string |
Project ID or project name |
reaction
|
path | True |
Type of the reaction |
|
work
|
path | True |
integer (int32) |
WorkItem ID |
api-version
|
query | True |
string |
Version of the API to use. This should be set to '7.1-preview.1' to use this version of the api. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Security
oauth2
Type:
oauth2
Flow:
accessCode
Authorization URL:
https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL:
https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
Scopes
Name | Description |
---|---|
vso.work_write | Grants the ability to read, create, and update work items and queries, update board metadata, read area and iterations paths other work item tracking related metadata, execute queries, and to receive notifications about work item events via service hooks. |
Definitions
Name | Description |
---|---|
Comment |
Contains information about work item comment reaction for a particular reaction type. |
Comment |
Type of the reaction. |
Reference |
The class to represent a collection of REST reference links. |
CommentReaction
Contains information about work item comment reaction for a particular reaction type.
Name | Type | Description |
---|---|---|
_links |
Link references to related REST resources. |
|
commentId |
integer (int32) |
The id of the comment this reaction belongs to. |
count |
integer (int32) |
Total number of reactions for the CommentReactionType. |
isCurrentUserEngaged |
boolean |
Flag to indicate if the current user has engaged on this particular EngagementType (e.g. if they liked the associated comment). |
type |
Type of the reaction. |
|
url |
string |
CommentReactionType
Type of the reaction.
Value | Description |
---|---|
confused | |
dislike | |
heart | |
hooray | |
like | |
smile |
ReferenceLinks
The class to represent a collection of REST reference links.
Name | Type | Description |
---|---|---|
links |
object |
The readonly view of the links. Because Reference links are readonly, we only want to expose them as read only. |