@Dixan Lal Thomas Thanks for reaching out. Currently there is no way to restrict visibility for API's in azure portal.
please feel free to leave your feedback at aka.ms/apimwish
do let me know incase of further queries, I would be happy to assist you.
Please accept as Yes if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.