When you are clicking update on the api it is forcing a reload of the gateway, which means the endpoint is there to be hit. I’m not sure why this is not happening when you create the API in the first place, i’ll replicate and see what I can find for you.

There is an update for you is that importing API swagger from my code or TYK dashboard (https://admin.cloud.tyk.io) is also having same issue.
=> I ALSO need to click update button so that the API work correctly.

Ok, looking at the above though your API IDs don’t match up? You are GETting 5a5470509764510001dbc4cf and PUTting to 5a54757234b63b00011d0fc3 but the API Definition you have posted is 5a55868134b63b00011d1034?