deleteCommentProperty method

Future<void> deleteCommentProperty({
  1. required String commentId,
  2. required String propertyKey,
})

Deletes a comment property.

Permissions required: either of:

Also, when the visibility of a comment is restricted to a role or group the user must be a member of that role or group.

Implementation

Future<void> deleteCommentProperty(
    {required String commentId, required String propertyKey}) async {
  await _client.send(
    'delete',
    'rest/api/3/comment/{commentId}/properties/{propertyKey}',
    pathParameters: {
      'commentId': commentId,
      'propertyKey': propertyKey,
    },
  );
}