updateNotificationScheme method

Future updateNotificationScheme({
  1. required String id,
  2. required UpdateNotificationSchemeDetails body,
})

Updates a notification scheme.

Permissions required: Administer Jira global permission.

Implementation

Future<dynamic> updateNotificationScheme(
    {required String id,
    required UpdateNotificationSchemeDetails body}) async {
  return await _client.send(
    'put',
    'rest/api/3/notificationscheme/{id}',
    pathParameters: {
      'id': id,
    },
    body: body.toJson(),
  );
}