# removePagesByID method

Future<DocumentData> removePagesByID(

1. RemovePagesByIdsParams params

)

Delete all pages by ids for document.

## Implementation

    Future<DocumentData> removePagesByID(RemovePagesByIdsParams params) async {
      try {
        var result = await ScanbotSdk.channel
            .invokeMethod('removePagesByID', params.toJson());

        return DocumentData.fromJson(jsonDecode(result));
      } catch (e) {
        Logger.root.severe(e);
        rethrow;
      }
    }