@Syed Sajid Hussain Thanks for reaching out. If your API Management service is a Standardv2 tier service, it doesn't have a dedicated IP address, this service runs on a shared infrastructure and without a deterministic IP address.
please refer this document https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-ip-addresses#ip-addresses-of-consumption-tier-api-management-service this applies to v2 as well and documents are yet to be updated.
Do let me know if you have any queries.
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.