Dayli Docs
API referenceInteractions

Delete a comment

DELETE
/api/v1/posts/{postId}/comments/{commentId}

Lets the commenter, or the post's author, delete a comment. Deleting a top-level comment also hides its replies. Deleting a comment that is already deleted also returns 204.

Authorization

AuthorizationBearer <token>

In: header

Path Parameters

postId*string
Length1 <= length <= 128
commentId*string
Length1 <= length <= 128

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/v1/posts/post-1/comments/comment-1"
Empty