deleteCommentOrReply method

Future<void> deleteCommentOrReply(
  1. String id
)

Delete a single comment.

The OAuth user must match the author of the comment in order to delete it. If not, a 401 HTTP status code is returned.

The comment must also be less than 2 weeks old or have 0 replies. If not, a 409 HTTP status is returned.

id - A specific comment ID

🔒 OAuth Required

Implementation

Future<void> deleteCommentOrReply(String id) async {
  return await _manager._authenticatedDelete("comments/$id");
}