Is it possible to remove annotations of a certain page?

Which product are you using?
PDF.js Express Viewer

PDF.js Express Version
8.1.0

Detailed description of issue
Is it possible to remove annotations of a certain page? I want to click on a button to trigger an event to remove annotations only for a certain page. Is there any existing api to do that?

Expected behaviour
When we click on the button beside a page , the annotations on that page gets removed.

Does your issue happen with every document, or just one?
{Answer here}

Link to document
{Provide a link to the document in question if possible}

Code snippet
{Provide a relevant code snippet}

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hi There,

This feature will not be available in the free Viewer version but you can use the following APIs

    documentViewer.addEventListener('annotationsLoaded', () => {
      const annots = annotationManager.getAnnotationsList();

      // remove annotations
      annotationManager.deleteAnnotations(annots);
    });

As linked by Ron the tech support bot you can read more about that here: Remove annotations to a PDF using JavaScript | PDF.js Express

You can just filter that annots list by their PageNumber

Cheers,
Dustin