Akash Gaikwad Thanks for posting your question in Microsoft Q&A. The developer portal supports importing or exporting data from an APIM instance through content management REST API. To automate migration of the portal content, you can use Automated migration script available in GitHub repo and refer doc: Automate developer portal deployments for the detailed steps.
Note, the steps are different for managed vs self-hosted portal, and you need to use scripts/migrate.js
**script **for self-hosted with custom storage account. I hope this helps with your question and let me know if you face any issues.
If you found the answer to your question helpful, please take a moment to mark it as "Yes" for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.