Edit a comment
PATCH/api/v1/buckets/:bucketId/files/:fileId/comments/:commentId
Requires viewer role or above on this bucket. Only the author can edit a comment.
Request
Responses
- 204
- 400
- 401
- 403
- 404
Comment updated
Validation error
Not authenticated. Note: a missing or invalid token is rejected with 403 FORBIDDEN (not 401); 401 is returned when the token's session has been revoked (SESSION_REVOKED).
Caller is not the author of the comment (FORBIDDEN)
File or comment not found (FILE_NOT_FOUND, COMMENT_NOT_FOUND)