# Merge Rest API - how to flatten PDF?

**URL:** <https://pdfjs.community/t/merge-rest-api-how-to-flatten-pdf/328>\
**Category:** Technical Support\
**Created:** [October 12, 2020, 9:09am UTC](https://pdfjs.community/t/merge-rest-api-how-to-flatten-pdf/328 "2020-10-12T09:09:32Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [October 16, 2020, 3:12pm UTC](https://pdfjs.community/t/merge-rest-api-how-to-flatten-pdf/328/9 "2020-10-16T15:12:22Z")

</div>

I think this may have something to do with certain viewers not honouring the readonly flag. When I open in some viewers I am able to move the annotation, and in others I am not.

We usually try to mimic Adobe Acrobats functionality when it comes to things like this, and when opening the document in that viewer, you cannot move or edit the annotation.

Thanks!  
Logan

---

_[View the full topic](https://pdfjs.community/t/merge-rest-api-how-to-flatten-pdf/328)._
