EaserixDocs
DevelopersAPI referenceTasksComments

Edit a comment (author-only)

Only the comment's author may edit it — anyone else in the org gets 403 ("only the author can edit a comment"). Editing sets the comment's modified timestamp (null until first edit — the "(edited)" marker).

View as Markdown
PATCH
/v1/comments/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/comments/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "body": "string"  }'
{  "comment": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "issueId": "96179c34-d541-49af-b046-c06f0377732c",    "authorId": "ee6f7132-bd0a-4fcd-83b3-a8022377067b",    "body": "string",    "created": "2019-08-24T14:15:22Z",    "modified": "2019-08-24T14:15:22Z",    "author": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "email": "string"    }  }}