I am using APIM v2 tier, when i first created the instance I got the default api gateway and when i import an api it takes that default uri in the servers url section like following:
"servers": [{
"url": "https://test-apim.azure-api.net/staging/data-product/base"
}],
Then i have created a custom domain with the name apis.mydomain.de , then i deleted that custom domain(apis.mydomain.de) but unfortunately now whenever i create a new api i got the server url like this:
"servers": [{
"url": "https://apis.mydomain.de/staging/data-product/base"
}],
and when I got to settings to verify the Base URL I actually find it pointing to the default gateway(which is correct); but when i open the developer portal or open the api specification as json i found it pointing on the deleted custom domain
I tried to change the server url diectly on the json specification, when i save it appears saved but all my changes got discarded and remains with the wrong server url.
here i attach a screenshot of the custom domain blade
A solution or an explanation for this would really help.
2
Answers
So, after opening a ticket to Microsoft support, it appreared to be an issue from their side happening in the v2 tiers.
To access the default gateway after deleting the custom domain, verify the following-
If you are still getting the deleted custom domain endpoints then I would suggest you to create a fresh instance.