Delete a comment on a media
Delete a comment on a media. Only the comment's author can delete it. Use it when the author asks to remove their own comment.
Delete a comment on a media. Only the comment's author can delete it. Use it when the author asks to remove their own comment.
Authenticate as a user with a personal access token.
Send it as a bearer token in the Authorization header:
Authorization: Bearer <personal-access-token>Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.
In: header
Path Parameters
The media ID
The public ID of the comment (e.g. comment-xf23d)
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/media/4821/comments/string"{ "id": "string", "buildId": "string", "testId": "string", "mediaId": "string", "mediaVersionId": "string", "threadId": "string", "body": null, "text": "string", "author": { "id": "string", "slug": "string", "name": "string" }, "agent": { "id": "string", "name": "string" }, "screenshotDiffId": "string", "anchor": { "type": "point", "x": 0, "y": 0 }, "pending": true, "resolvedAt": "string", "editedAt": "string", "createdAt": "string", "reactions": [ { "emoji": "string", "count": 0, "users": [ { "id": "string", "slug": "string", "name": "string" } ] } ]}Update a comment on a media PATCH
Update the body of a comment on a media. Only the comment's author can edit it. Use it when the author wants to correct or reword their own comment.
Add an emoji reaction to a comment on a media POST
Add an emoji reaction to a comment on a media, on behalf of the authenticated user. Use it to acknowledge a comment with an emoji rather than a reply.