Hi EnterpriseArchitect ,
Thank you for reaching out on Microsoft Q&A!
I would advise you to use the ‘export template’ functionality, as this contains your entire API Management service. The advantage of this option in favor of JSON view is the fact that JSON view is usable within your APIM, whereas an exported template could also be used to redeploy your entire APIM (in case of).
Please refer to the documentation below on the PowerShell equivalent of the ‘export template’ button in the Portal:
https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/export-template-powershell
And for deploying again:
Please click “Accept answer” if you find this helpful. Feel free to drop additional queries in the comments below!
Kind regards,
Sonny