Edit a comment
Replaces the comment's body (at most 10,000 characters) and marks it
edited. Only the comment's author may edit it: for a personal key that
is its owner, for an organization key the key itself.
Requires the board:card:write scope.
Authorization
Parameters
Path parameters
commentIDstring requiredThe comment's ID.
Request body required
bodystring required
Responses
204
The comment was edited.
400
The body is not JSON for this endpoint, or carries a field it does not
know (INVALID_BODY), or a field breaks a rule (VALIDATION_ERROR;
the message says which).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks board:card:write, or the caller is not the comment's author (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
It does not exist, or it is on a board the caller cannot see (NOT_FOUND).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X PATCH 'https://evohub.io/api/v1/board/comments/cmt_2c3d4e5f6a7b48c9d0e1f2a3b4c5d6e7' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"body": "Staging is done; production moved to Tuesday."
}'
