Changing Page Editor Via the REST API

I’m working on a project that requires converting Confluence pages that are currently in the legacy editor to the new editor using the Confluence REST API. I only need to target certain pages in the instance. I’ve come across documentation and discussions about working with storage formats, but I couldn’t find clear guidance on how to programmatically convert a page’s editor type.

  • Is there a supported API method to convert a page from the legacy editor to the new editor?

  • If there isn’t a direct API method, are there any workarounds or best practices to accomplish this programmatically?

Any insights or guidance would be greatly appreciated!

No need to update the actual page, you just have to set the editor page property: Confluence Rest API V2 - Struggling to create a page with the new editor - #5 by SebastianGellweiler