deleteCommentProperty method
Deletes a comment property.
Permissions required: either of:
- Edit All Comments project permission to delete a property from any comment.
- Edit Own Comments project permission to delete a property from a comment created by the user.
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,
},
);
}