# deleteDocument method

Future<void> deleteDocument(

1. String documentID

)

Delete a document by its ID.

## Implementation

    Future<void> deleteDocument(String documentID) async {
      try {
        var operationParamsMap = <String, dynamic>{"documentID": documentID};

        await ScanbotSdk.channel
            .invokeMethod('deleteDocument', operationParamsMap);
      } catch (e) {
        Logger.root.severe(e);
        rethrow;
      }
    }