Hi AE Thanks for reaching out. From the description I understand that you wanted to disable try it button but there is no straightforward way of doing that, either create a custom widget to hid it https://learn.microsoft.com/en-us/azure/api-management/developer-portal-extend-custom-functionality#create-and-upload-custom-widget or self-host the portal and customize it the way you want.
Let me know if you have any further questions.
Please "upvote/accept" if the answer is helpful so that it can help others in the community.