---
title: "Remove PDF annotations in MAUI applications | Nutrient"
canonical_url: "https://www.nutrient.io/guides/maui/annotations/create-edit-and-remove/remove/"
md_url: "https://www.nutrient.io/guides/maui/annotations/create-edit-and-remove/remove.md"
last_updated: "2026-05-26T09:21:30.460Z"
description: "In addition to providing APIs for creating and editing annotations, we also offer an API for removing annotations. To remove annotations."
---

# Remove PDF annotations in MAUI

In addition to providing APIs for creating and editing annotations, we also offer an API for removing annotations. To remove annotations, use the [`IAnnotationManager.DeleteAnnotationsAsync()`] method:

```csharp

var annotations = await _annotationManager.GetAnnotationsOnPageAsync(0);
var annotationIdToDelete = annotations[0].Id;
await _annotationManager.DeleteAnnotationsAsync(annotationIdToDelete);

```

Following the optimistic UI approach, the changes will be instantly visible in the UI, but they aren’t persisted until the annotations are saved. This is done by saving them [using JavaScript APIs](https://www.nutrient.io/guides/maui/advanced-access-apis.md). You can [save them to external storage](https://www.nutrient.io/guides/web/annotations/save/to-external-storage.md) or [embed them into a document](https://www.nutrient.io/guides/web/annotations/save/embed-into-pdf.md). They can also be exported to [Instant JSON](https://www.nutrient.io/guides/maui/annotations/instant-json.md) using native APIs or [XFDF](https://www.nutrient.io/guides/web/importing-exporting/xfdf-support.md) by bridging JavaScript APIs.
---

## Related pages

- [Edit PDF annotations in MAUI](/guides/maui/annotations/create-edit-and-remove/edit.md)
- [Adding annotations to images](/guides/maui/annotations/create-edit-and-remove/add-annotation-to-image.md)
- [Create PDF annotations in our MAUI viewer](/guides/maui/annotations/create-edit-and-remove/create.md)

