When we migrated to XP from CMS, we had certain pages as “sections” and we have lot of articles under this section. Now, since this section is causing issue with the cron job, we have planned to keep the content type as folder/page. However, due to huge content, we cannot import/export the data to change the content type. Let me know the way to change the content type from section to folder.
It is generally not supported to change type type of a content, but it can be done via the node layer (using the API, importing or directly via Data toolbox).
To change via Data Toolbox you must provide a new name in the “type” property.
This is ES6 code and I haven’t tested this on an actual server with cms2xp content, so please test your code on safe non-production data before you run this service!