removeModules method

Future<void> removeModules({
  1. List<String>? moduleKey,
})

Remove all or a list of modules registered by the calling app.

Permissions required: Only Connect apps can make this request.

Implementation

Future<void> removeModules({List<String>? moduleKey}) async {
  await _client.send(
    'delete',
    'rest/atlassian-connect/1/app/module/dynamic',
    queryParameters: {
      if (moduleKey != null) 'moduleKey': moduleKey.map((e) => e).join(','),
    },
  );
}