unsubscribe method

Future<void> unsubscribe(
  1. String issueIdOrKey
)

This method unsubscribes the user from notifications from a customer request.

Permissions required: Permission to view the customer request.

Implementation

Future<void> unsubscribe(String issueIdOrKey) async {
  await _client.send(
    'delete',
    'rest/servicedeskapi/request/{issueIdOrKey}/notification',
    pathParameters: {
      'issueIdOrKey': issueIdOrKey,
    },
  );
}