Confluence Cloud app/API to disable confluence page attachments downloading

Anyone to suggest how to disable the attachments dowloading of confluence Cloud pages with Forge development or API? Thanks.

I am not aware of any method available for Confluence Cloud.
Cloud apps depends primarily on the available of public REST APIs and the execution is restricted within the iframe.