Delete a comment
DELETE/api/v1/buckets/:bucketId/files/:fileId/comments/:commentId
Requires viewer role or above on this bucket. The author, a bucket owner or a platform admin can delete a comment.
Request
Responses
- 204
- 401
- 403
- 404
Comment deleted
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, a bucket owner, or an admin (FORBIDDEN)
File or comment not found (FILE_NOT_FOUND, COMMENT_NOT_FOUND)