deleteInlineComment method

Future<void> deleteInlineComment(
  1. int commentId
)

Deletes an inline comment. This is a permanent deletion and cannot be reverted.

Permissions required: Permission to view the content of the page or blogpost and its corresponding space. Permission to delete comments in the space.

Implementation

Future<void> deleteInlineComment(int commentId) async {
  await _client.send(
    'delete',
    'inline-comments/{comment-id}',
    pathParameters: {
      'comment-id': '$commentId',
    },
  );
}